mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-06 02:49:35 +02:00
[cctv] Relax _VALID_URL
This commit is contained in:
parent
327caf661a
commit
3783a5ccba
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
class CCTVIE(InfoExtractor):
|
class CCTVIE(InfoExtractor):
|
||||||
IE_DESC = '央视网'
|
IE_DESC = '央视网'
|
||||||
_VALID_URL = r'https?://(?:[^/]+)\.(?:cntv|cctv)\.(?:com|cn)/(?:[^/]+/)*?(?P<id>[^/?#&]+?)(?:/index)?\.s?html'
|
_VALID_URL = r'https?://(?:[^/]+)\.(?:cntv|cctv)\.(?:com|cn)/(?:[^/]+/)*?(?P<id>[^/?#&]+?)(?:/index)?(?:\.s?html|[?#&]|$)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://sports.cntv.cn/2016/02/12/ARTIaBRxv4rTT1yWf1frW2wi160212.shtml',
|
'url': 'http://sports.cntv.cn/2016/02/12/ARTIaBRxv4rTT1yWf1frW2wi160212.shtml',
|
||||||
'md5': 'd61ec00a493e09da810bf406a078f691',
|
'md5': 'd61ec00a493e09da810bf406a078f691',
|
||||||
|
Loading…
Reference in New Issue
Block a user