mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-23 18:58:50 +00:00
[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user