projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ee4ecb
)
[karaoketv] Use compat_urllib_parse_unquote_plus
author
Sergey M․
<dstftw@gmail.com>
Fri, 17 Jul 2015 17:40:35 +0000
(23:40 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 17 Jul 2015 17:40:35 +0000
(23:40 +0600)
youtube_dl/extractor/karaoketv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/karaoketv.py
b/youtube_dl/extractor/karaoketv.py
index e3b43ff8dbfec5e065aa069a0fb140dcfb5822c9..06daf5a89ce3ffde4d71d7dc8ceee9441840b72b 100644
(file)
--- a/
youtube_dl/extractor/karaoketv.py
+++ b/
youtube_dl/extractor/karaoketv.py
@@
-2,7
+2,7
@@
from __future__ import unicode_literals
from .common import InfoExtractor
from __future__ import unicode_literals
from .common import InfoExtractor
-from ..compat import compat_urllib_parse
+from ..compat import compat_urllib_parse
_unquote_plus
from ..utils import (
js_to_json,
)
from ..utils import (
js_to_json,
)
@@
-24,7
+24,7
@@
class KaraoketvIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
page_video_url = self._og_search_video_url(webpage, video_id)
webpage = self._download_webpage(url, video_id)
page_video_url = self._og_search_video_url(webpage, video_id)
- config_json = compat_urllib_parse
.
unquote_plus(self._search_regex(
+ config_json = compat_urllib_parse
_
unquote_plus(self._search_regex(
r'config=(.*)', page_video_url, 'configuration'))
urls_info_json = self._download_json(
r'config=(.*)', page_video_url, 'configuration'))
urls_info_json = self._download_json(