]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/tencent.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / tencent.py
index 6618ea4e6e0c1fe00b4d16e72c3c531728489b6b..fc2b07ac27ba51a991752be69de632440dc28a95 100644 (file)
@@ -8,8 +8,8 @@
 from ..aes import aes_cbc_encrypt_bytes
 from ..utils import (
     ExtractorError,
-    float_or_none,
     determine_ext,
+    float_or_none,
     int_or_none,
     js_to_json,
     traverse_obj,
@@ -25,7 +25,7 @@ def _check_api_response(self, api_response):
         if api_response.get('code') != '0.0' and msg is not None:
             if msg in (
                 '您所在区域暂无此内容版权(如设置VPN请关闭后重试)',
-                'This content is not available in your area due to copyright restrictions. Please choose other videos.'
+                'This content is not available in your area due to copyright restrictions. Please choose other videos.',
             ):
                 self.raise_geo_restricted()
             raise ExtractorError(f'Tencent said: {msg}')