commit: bee83e84f64248a47f2f0b79e8c2698bc89abf55
parent 82e02ea5fce6bbc595dbfefc8eafce21e2bb53cc
Author: forDream <gam2046@users.noreply.github.com>
Date: Tue, 22 Dec 2015 09:28:12 +0800
[iqiyi]fix valid url
eg:
http://yule.iqiyi.com/zbj.html
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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',