projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ellentv] Improve extraction
[youtube-dl]
/
youtube_dl
/
extractor
/
kankan.py
diff --git
a/youtube_dl/extractor/kankan.py
b/youtube_dl/extractor/kankan.py
index 2707462ee0350bec40e94b55566b6bb55d83da96..dbfe4cc03fd8c569ed2f05d5ae9c86c36bb9e278 100644
(file)
--- a/
youtube_dl/extractor/kankan.py
+++ b/
youtube_dl/extractor/kankan.py
@@
-10,7
+10,7
@@
_md5 = lambda s: hashlib.md5(s.encode('utf-8')).hexdigest()
class KankanIE(InfoExtractor):
_VALID_URL = r'https?://(?:.*?\.)?kankan\.com/.+?/(?P<id>\d+)\.shtml'
class KankanIE(InfoExtractor):
_VALID_URL = r'https?://(?:.*?\.)?kankan\.com/.+?/(?P<id>\d+)\.shtml'
-
+
_TEST = {
'url': 'http://yinyue.kankan.com/vod/48/48863.shtml',
'file': '48863.flv',
_TEST = {
'url': 'http://yinyue.kankan.com/vod/48/48863.shtml',
'file': '48863.flv',
@@
-18,6
+18,7
@@
class KankanIE(InfoExtractor):
'info_dict': {
'title': 'Ready To Go',
},
'info_dict': {
'title': 'Ready To Go',
},
+ 'skip': 'Only available from China',
}
def _real_extract(self, url):
}
def _real_extract(self, url):