projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[compat] Add compat_urllib_parse_urlencode and eliminate encode_dict
[youtube-dl]
/
youtube_dl
/
extractor
/
fivemin.py
diff --git
a/youtube_dl/extractor/fivemin.py
b/youtube_dl/extractor/fivemin.py
index 67d50a386ce812018047f711205b8619d75c1bf8..6b834541636533d808ce396ae456f980f989c731 100644
(file)
--- a/
youtube_dl/extractor/fivemin.py
+++ b/
youtube_dl/extractor/fivemin.py
@@
-4,8
+4,8
@@
import re
from .common import InfoExtractor
from ..compat import (
from .common import InfoExtractor
from ..compat import (
- compat_urllib_parse,
compat_parse_qs,
compat_parse_qs,
+ compat_urllib_parse_urlencode,
compat_urllib_parse_urlparse,
compat_urlparse,
)
compat_urllib_parse_urlparse,
compat_urlparse,
)
@@
-109,7
+109,7
@@
class FiveMinIE(InfoExtractor):
response = self._download_json(
'https://syn.5min.com/handlers/SenseHandler.ashx?' +
response = self._download_json(
'https://syn.5min.com/handlers/SenseHandler.ashx?' +
- compat_urllib_parse
.
urlencode({
+ compat_urllib_parse
_
urlencode({
'func': 'GetResults',
'playlist': video_id,
'sid': sid,
'func': 'GetResults',
'playlist': video_id,
'sid': sid,