]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/utils/_legacy.py
[ie/ZenYandex] Fix extractor (#9813)
[yt-dlp.git] / yt_dlp / utils / _legacy.py
index aa9f46d204a408987639b9557d11298859631fe1..a23248bbed2a72a61e20e6ec7411b7ff88fe576d 100644 (file)
 import zlib
 
 from ._utils import Popen, decode_base_n, preferredencoding
-from .networking import escape_rfc3986  # noqa: F401
-from .networking import normalize_url as escape_url  # noqa: F401
 from .traversal import traverse_obj
 from ..dependencies import certifi, websockets
 from ..networking._helper import make_ssl_context
 from ..networking._urllib import HTTPHandler
 
 # isort: split
+from .networking import escape_rfc3986  # noqa: F401
+from .networking import normalize_url as escape_url  # noqa: F401
 from .networking import random_user_agent, std_headers  # noqa: F401
 from ..cookies import YoutubeDLCookieJar  # noqa: F401
 from ..networking._urllib import PUTRequest  # noqa: F401
@@ -90,7 +90,7 @@ def _cancel_all_tasks(loop):
         for task in to_cancel:
             task.cancel()
 
-        # XXX: "loop" is removed in python 3.10+
+        # XXX: "loop" is removed in Python 3.10+
         loop.run_until_complete(
             asyncio.gather(*to_cancel, loop=loop, return_exceptions=True))