projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9948113
)
[iqiyi] Make _VALID_URL more accurate
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 6 Jun 2015 18:13:22 +0000
(
02:13
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 6 Jun 2015 18:13:22 +0000
(
02:13
+0800)
v_* urls are individual videos, while a_* urls are playlists, which are
not supported yet.
youtube_dl/extractor/iqiyi.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/iqiyi.py
b/youtube_dl/extractor/iqiyi.py
index d73687d881e6b31922c8e62989d346369460b1f1..f0d4233313e5ad1843c85915051b8ecfbfe04384 100644
(file)
--- a/
youtube_dl/extractor/iqiyi.py
+++ b/
youtube_dl/extractor/iqiyi.py
@@
-17,7
+17,7
@@
from ..utils import ExtractorError
class IqiyiIE(InfoExtractor):
IE_NAME = 'iqiyi'
- _VALID_URL = r'http://(?:www\.)iqiyi.com/.+?\.html'
+ _VALID_URL = r'http://(?:www\.)iqiyi.com/
v_
.+?\.html'
_TESTS = [{
'url': 'http://www.iqiyi.com/v_19rrojlavg.html',