Update iqiyi.py
authorgam2046 <gam2046@qq.com>
Fri, 18 Dec 2015 06:18:56 +0000 (14:18 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sun, 27 Dec 2015 16:16:21 +0000 (00:16 +0800)
Fix part of the address can not be resolved.
eg:http://www.iqiyi.com/w_19rt6o8t9p.html

youtube_dl/extractor/iqiyi.py

index c3731a110b9a0ce222e742161fdbc1081fbbab61..f0e2e5104883a22e5cabea7bed8aff0270933c3f 100644 (file)
@@ -16,7 +16,7 @@ class IqiyiIE(InfoExtractor):
     IE_NAME = 'iqiyi'
     IE_DESC = '爱奇艺'
 
-    _VALID_URL = r'http://(?:www\.)iqiyi.com/v_.+?\.html'
+    _VALID_URL = r'http://(?:www\.)iqiyi.com/._.+?\.html'
 
     _TESTS = [{
         'url': 'http://www.iqiyi.com/v_19rrojlavg.html',