[utils] Add parse_qs
This commit is contained in:
parent
8fc54b1230
commit
4dfbf8696b
36 changed files with 101 additions and 135 deletions
|
|
@ -5,7 +5,6 @@ import re
|
|||
|
||||
from .common import InfoExtractor
|
||||
from ..compat import (
|
||||
compat_parse_qs,
|
||||
compat_str,
|
||||
compat_urllib_parse_urlparse,
|
||||
)
|
||||
|
|
@ -13,6 +12,7 @@ from ..utils import (
|
|||
urljoin,
|
||||
int_or_none,
|
||||
parse_codecs,
|
||||
parse_qs,
|
||||
try_get,
|
||||
)
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ class SeznamZpravyIE(InfoExtractor):
|
|||
return formats
|
||||
|
||||
def _real_extract(self, url):
|
||||
params = compat_parse_qs(compat_urllib_parse_urlparse(url).query)
|
||||
params = parse_qs(url)
|
||||
|
||||
src = params['src'][0]
|
||||
title = params['title'][0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue