From bee83e84f64248a47f2f0b79e8c2698bc89abf55 Mon Sep 17 00:00:00 2001 From: forDream Date: Tue, 22 Dec 2015 09:28:12 +0800 Subject: [PATCH] [iqiyi]fix valid url eg: http://yule.iqiyi.com/zbj.html --- youtube_dl/extractor/iqiyi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.39.5