]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/c56.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / c56.py
index e4b1c9a84c30ff57976107876f3bc71e952d397f..6264803dd683c2a4a340174ddc5e584effec9130 100644 (file)
@@ -38,7 +38,7 @@ def _real_extract(self, url):
             return self.url_result(sohu_video_info['url'], 'Sohu')
 
         page = self._download_json(
-            'http://vxml.56.com/json/%s/' % text_id, text_id, 'Downloading video info')
+            f'http://vxml.56.com/json/{text_id}/', text_id, 'Downloading video info')
 
         info = page['info']
 
@@ -46,7 +46,7 @@ def _real_extract(self, url):
             {
                 'format_id': f['type'],
                 'filesize': int(f['filesize']),
-                'url': f['url']
+                'url': f['url'],
             } for f in info['rfiles']
         ]