From: forDream Date: Tue, 22 Dec 2015 01:28:12 +0000 (+0800) Subject: [iqiyi]fix valid url X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=bee83e84f64248a47f2f0b79e8c2698bc89abf55;p=youtube-dl [iqiyi]fix valid url eg: http://yule.iqiyi.com/zbj.html --- 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',