projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e02ea
)
[iqiyi]fix valid url
author
forDream
<gam2046@users.noreply.github.com>
Tue, 22 Dec 2015 01:28:12 +0000
(09:28 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 27 Dec 2015 16:16:34 +0000
(
00:16
+0800)
eg:
http://yule.iqiyi.com/zbj.html
youtube_dl/extractor/iqiyi.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/iqiyi.py
b/youtube_dl/extractor/iqiyi.py
index f0e2e5104883a22e5cabea7bed8aff0270933c3f..38348e0e75dee5dd5d9d971e4f32bdca2b4d9b51 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 = '爱奇艺'
- _VALID_URL = r'http://(?:
www\.)iqiyi.com/._.+?
\.html'
+ _VALID_URL = r'http://(?:
[^.]+\.)?iqiyi\.com/.+
\.html'
_TESTS = [{
'url': 'http://www.iqiyi.com/v_19rrojlavg.html',