1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-26 04:02:11 +00:00

[iqiyi] Make _VALID_URL more accurate

v_* urls are individual videos, while a_* urls are playlists, which are
not supported yet.
This commit is contained in:
Yen Chi Hsuan 2015-06-07 02:13:22 +08:00
parent 9948113590
commit 865ab62f43

View file

@ -17,7 +17,7 @@ from ..utils import ExtractorError
class IqiyiIE(InfoExtractor):
IE_NAME = 'iqiyi'
_VALID_URL = r'http://(?:www\.)iqiyi.com/.+?\.html'
_VALID_URL = r'http://(?:www\.)iqiyi.com/v_.+?\.html'
_TESTS = [{
'url': 'http://www.iqiyi.com/v_19rrojlavg.html',