projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[tudou] Use single quotes and compat_str
[youtube-dl]
/
youtube_dl
/
extractor
/
openfilm.py
diff --git
a/youtube_dl/extractor/openfilm.py
b/youtube_dl/extractor/openfilm.py
index 2249657eb1b796970c155f4baf3445fef9b60681..d2ceedd018fe1f0237aefa17330d5dbe3d94f68c 100644
(file)
--- a/
youtube_dl/extractor/openfilm.py
+++ b/
youtube_dl/extractor/openfilm.py
@@
-3,9
+3,9
@@
from __future__ import unicode_literals
import json
from .common import InfoExtractor
import json
from .common import InfoExtractor
+from ..compat import compat_urllib_parse_unquote_plus
from ..utils import (
parse_iso8601,
from ..utils import (
parse_iso8601,
- compat_urllib_parse,
parse_age_limit,
int_or_none,
)
parse_age_limit,
int_or_none,
)
@@
-37,7
+37,7
@@
class OpenFilmIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
webpage = self._download_webpage(url, display_id)
- player = compat_urllib_parse
.
unquote_plus(
+ player = compat_urllib_parse
_
unquote_plus(
self._og_search_video_url(webpage))
video = json.loads(self._search_regex(
self._og_search_video_url(webpage))
video = json.loads(self._search_regex(