[iqiyi]fix valid url
[youtube-dl] / youtube_dl / extractor / iqiyi.py
index f0e2e5104883a22e5cabea7bed8aff0270933c3f..38348e0e75dee5dd5d9d971e4f32bdca2b4d9b51 100644 (file)
@@ -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',