projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bbc] Add another title regex (Closes #8340)
[youtube-dl]
/
youtube_dl
/
extractor
/
iqiyi.py
diff --git
a/youtube_dl/extractor/iqiyi.py
b/youtube_dl/extractor/iqiyi.py
index c3731a110b9a0ce222e742161fdbc1081fbbab61..691cb66d6e0e5b53c80339bf649a93cdd3813c04 100644
(file)
--- a/
youtube_dl/extractor/iqiyi.py
+++ b/
youtube_dl/extractor/iqiyi.py
@@
-16,7
+16,7
@@
class IqiyiIE(InfoExtractor):
IE_NAME = 'iqiyi'
IE_DESC = '爱奇艺'
IE_NAME = 'iqiyi'
IE_DESC = '爱奇艺'
- _VALID_URL = r'http://(?:
www\.)iqiyi.com/v_.+?
\.html'
+ _VALID_URL = r'http://(?:
[^.]+\.)?iqiyi\.com/.+
\.html'
_TESTS = [{
'url': 'http://www.iqiyi.com/v_19rrojlavg.html',
_TESTS = [{
'url': 'http://www.iqiyi.com/v_19rrojlavg.html',
@@
-84,6
+84,15
@@
class IqiyiIE(InfoExtractor):
'params': {
'skip_download': True,
},
'params': {
'skip_download': True,
},
+ }, {
+ 'url': 'http://www.iqiyi.com/w_19rt6o8t9p.html',
+ 'only_matching': True,
+ }, {
+ 'url': 'http://www.iqiyi.com/a_19rrhbc6kt.html',
+ 'only_matching': True,
+ }, {
+ 'url': 'http://yule.iqiyi.com/pcb.html',
+ 'only_matching': True,
}]
_FORMATS_MAP = [
}]
_FORMATS_MAP = [
@@
-205,8
+214,8
@@
class IqiyiIE(InfoExtractor):
def get_enc_key(self, swf_url, video_id):
# TODO: automatic key extraction
def get_enc_key(self, swf_url, video_id):
# TODO: automatic key extraction
- # last update at 201
5-12-18
for Zombie::bite
- enc_key = '
8b6b683780897eb8d9a48a02ccc4817d'[::-1]
+ # last update at 201
6-01-22
for Zombie::bite
+ enc_key = '
6ab6d0280511493ba85594779759d4ed'
return enc_key
def _real_extract(self, url):
return enc_key
def _real_extract(self, url):