aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/metacritic.py
diff options
context:
space:
mode:
authorsepro <4618135+seproDev@users.noreply.github.com>2024-06-12 01:09:58 +0200
committerGitHub <noreply@github.com>2024-06-12 01:09:58 +0200
commitadd96eb9f84cfffe85682bf2fb85135746994ee8 (patch)
tree583f209506aa01b2afa3933e504426de575fc43c /yt_dlp/extractor/metacritic.py
parentdb50f19d76c6870a5a13d0cab9287d684fd7449a (diff)
[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>
Diffstat (limited to 'yt_dlp/extractor/metacritic.py')
-rw-r--r--yt_dlp/extractor/metacritic.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/extractor/metacritic.py b/yt_dlp/extractor/metacritic.py
index 14410549a..41e20a58e 100644
--- a/yt_dlp/extractor/metacritic.py
+++ b/yt_dlp/extractor/metacritic.py
@@ -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',