1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-09 01:35:18 +00:00

[cleanup] Bump ruff to 0.13.x (#14293)

Authored by: bashonly
This commit is contained in:
bashonly
2025-09-11 10:18:01 -05:00
committed by GitHub
parent 22ea0688ed
commit ba80446855
20 changed files with 34 additions and 33 deletions

View File

@@ -7,7 +7,7 @@ from ..utils import (
class FifaIE(InfoExtractor):
_VALID_URL = r'https?://www\.fifa\.com/fifaplus/(?P<locale>\w{2})/watch/([^#?]+/)?(?P<id>\w+)'
_VALID_URL = r'https?://www\.fifa\.com/fifaplus/\w{2}/watch/([^#?]+/)?(?P<id>\w+)'
_TESTS = [{
'url': 'https://www.fifa.com/fifaplus/en/watch/7on10qPcnyLajDDU3ntg6y',
'info_dict': {
@@ -51,7 +51,7 @@ class FifaIE(InfoExtractor):
}]
def _real_extract(self, url):
video_id, locale = self._match_valid_url(url).group('id', 'locale')
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
preconnect_link = self._search_regex(