mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-20 09:18:44 +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:
@@ -40,9 +40,9 @@ class MetacriticIE(InfoExtractor):
|
||||
|
||||
clip = next(c for c in info.findall('playList/clip') if c.find('id').text == video_id)
|
||||
formats = []
|
||||
for videoFile in clip.findall('httpURI/videoFile'):
|
||||
rate_str = videoFile.find('rate').text
|
||||
video_url = videoFile.find('filePath').text
|
||||
for video_file in clip.findall('httpURI/videoFile'):
|
||||
rate_str = video_file.find('rate').text
|
||||
video_url = video_file.find('filePath').text
|
||||
formats.append({
|
||||
'url': video_url,
|
||||
'ext': 'mp4',
|
||||
|
Reference in New Issue
Block a user