]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/tele5.py
[utils] Add `parse_qs`
[yt-dlp.git] / yt_dlp / extractor / tele5.py
index 3e1a7a9e609a9eb80732348b86e5976e12093a0b..0d9cf75ca9e1a460b29cac1eecc03ed1b73ef2af 100644 (file)
@@ -6,9 +6,9 @@
 from .common import InfoExtractor
 from .jwplatform import JWPlatformIE
 from .nexx import NexxIE
-from ..compat import compat_urlparse
 from ..utils import (
     NO_DEFAULT,
+    parse_qs,
     smuggle_url,
 )
 
@@ -64,7 +64,7 @@ class Tele5IE(InfoExtractor):
     }]
 
     def _real_extract(self, url):
-        qs = compat_urlparse.parse_qs(compat_urlparse.urlparse(url).query)
+        qs = parse_qs(url)
         video_id = (qs.get('vid') or qs.get('ve_id') or [None])[0]
 
         NEXX_ID_RE = r'\d{6,}'