aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/pladform.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-08-23 00:32:00 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-08-23 00:50:43 +0530
commit4dfbf8696b0c614eee480b44a86959b9a055fb97 (patch)
tree3b8c9c9a5d34112804df6c03885754c0a0d51cc8 /yt_dlp/extractor/pladform.py
parent8fc54b1230e360fe6543bbbe8eea19ca2e8e06f3 (diff)
downloadhypervideo-pre-4dfbf8696b0c614eee480b44a86959b9a055fb97.tar.lz
hypervideo-pre-4dfbf8696b0c614eee480b44a86959b9a055fb97.tar.xz
hypervideo-pre-4dfbf8696b0c614eee480b44a86959b9a055fb97.zip
[utils] Add `parse_qs`
Diffstat (limited to 'yt_dlp/extractor/pladform.py')
-rw-r--r--yt_dlp/extractor/pladform.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/pladform.py b/yt_dlp/extractor/pladform.py
index e86c65396..dc2030017 100644
--- a/yt_dlp/extractor/pladform.py
+++ b/yt_dlp/extractor/pladform.py
@@ -4,11 +4,11 @@ from __future__ import unicode_literals
import re
from .common import InfoExtractor
-from ..compat import compat_urlparse
from ..utils import (
determine_ext,
ExtractorError,
int_or_none,
+ parse_qs,
xpath_text,
qualities,
)
@@ -56,7 +56,7 @@ class PladformIE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
- qs = compat_urlparse.parse_qs(compat_urlparse.urlparse(url).query)
+ qs = parse_qs(url)
pl = qs.get('pl', ['1'])[0]
video = self._download_xml(