[iqiyi] Make _VALID_URL more accurate

v_* urls are individual videos, while a_* urls are playlists, which are
not supported yet.
pull/2/head
Yen Chi Hsuan 10 years ago
parent 9948113590
commit 865ab62f43

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

Loading…
Cancel
Save