aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/iqiyi.py
diff options
context:
space:
mode:
authorforDream <gam2046@users.noreply.github.com>2015-12-22 09:28:12 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-12-28 00:16:34 +0800
commitbee83e84f64248a47f2f0b79e8c2698bc89abf55 (patch)
tree085dde972d9537c5a1dbdc96639f5e24793afe68 /youtube_dl/extractor/iqiyi.py
parent82e02ea5fce6bbc595dbfefc8eafce21e2bb53cc (diff)
[iqiyi]fix valid url
eg: http://yule.iqiyi.com/zbj.html
Diffstat (limited to 'youtube_dl/extractor/iqiyi.py')
-rw-r--r--youtube_dl/extractor/iqiyi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/iqiyi.py b/youtube_dl/extractor/iqiyi.py
index f0e2e5104..38348e0e7 100644
--- 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',