]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/metacritic.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / metacritic.py
index 14410549ab8fe26a8fdc0c2d31331748b1aea510..41e20a58e03988d9efb894413fa6f654aa7431a2 100644 (file)
@@ -40,9 +40,9 @@ def _real_extract(self, url):
 
         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',