diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-23 00:32:00 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-23 00:50:43 +0530 |
commit | 4dfbf8696b0c614eee480b44a86959b9a055fb97 (patch) | |
tree | 3b8c9c9a5d34112804df6c03885754c0a0d51cc8 /yt_dlp/extractor/clyp.py | |
parent | 8fc54b1230e360fe6543bbbe8eea19ca2e8e06f3 (diff) | |
download | hypervideo-pre-4dfbf8696b0c614eee480b44a86959b9a055fb97.tar.lz hypervideo-pre-4dfbf8696b0c614eee480b44a86959b9a055fb97.tar.xz hypervideo-pre-4dfbf8696b0c614eee480b44a86959b9a055fb97.zip |
[utils] Add `parse_qs`
Diffstat (limited to 'yt_dlp/extractor/clyp.py')
-rw-r--r-- | yt_dlp/extractor/clyp.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/yt_dlp/extractor/clyp.py b/yt_dlp/extractor/clyp.py index 06d04de13..e6b2ac4d4 100644 --- a/yt_dlp/extractor/clyp.py +++ b/yt_dlp/extractor/clyp.py @@ -1,12 +1,9 @@ from __future__ import unicode_literals from .common import InfoExtractor -from ..compat import ( - compat_parse_qs, - compat_urllib_parse_urlparse, -) from ..utils import ( float_or_none, + parse_qs, unified_timestamp, ) @@ -44,7 +41,7 @@ class ClypIE(InfoExtractor): def _real_extract(self, url): audio_id = self._match_id(url) - qs = compat_parse_qs(compat_urllib_parse_urlparse(url).query) + qs = parse_qs(url) token = qs.get('token', [None])[0] query = {} |