[cleanup] Add more ruff rules (#10149)

Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
This commit is contained in:
sepro
2024-06-12 01:09:58 +02:00
committed by GitHub
parent db50f19d76
commit add96eb9f8
915 changed files with 7027 additions and 7246 deletions

View File

@@ -22,7 +22,7 @@ class VeoIE(InfoExtractor):
'timestamp': 1603847208,
'duration': 1916,
'view_count': int,
}
},
}, {
'url': 'https://app.veo.co/matches/20220313-2022-03-13_u15m-plsjq-vs-csl/',
'only_matching': True,
@@ -32,10 +32,10 @@ class VeoIE(InfoExtractor):
video_id = self._match_id(url)
metadata = self._download_json(
'https://app.veo.co/api/app/matches/%s' % video_id, video_id)
f'https://app.veo.co/api/app/matches/{video_id}', video_id)
video_data = self._download_json(
'https://app.veo.co/api/app/matches/%s/videos' % video_id, video_id, 'Downloading video data')
f'https://app.veo.co/api/app/matches/{video_id}/videos', video_id, 'Downloading video data')
formats = []
for fmt in video_data: