mirror of https://github.com/yt-dlp/yt-dlp.git
fix regex for url
This commit is contained in:
parent
82ac58dec4
commit
301d51e362
|
@ -2,7 +2,7 @@ from .common import InfoExtractor
|
||||||
|
|
||||||
|
|
||||||
class CableCastTVIE(InfoExtractor):
|
class CableCastTVIE(InfoExtractor):
|
||||||
_VALID_URL = r'https:\/\/[a-zA-Z0-9-]+\.cablecast\.tv\/show\/(?P<id>\d+)'
|
_VALID_URL = r'https?://(?:[a-z\-\.]+\.cablecast\.tv/show/|[a-z\-\.]+/CablecastPublicSite/show/)(?P<id>\d+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://wctv.wilmette.com/CablecastPublicSite/show/532',
|
'url': 'https://wctv.wilmette.com/CablecastPublicSite/show/532',
|
||||||
'md5': '17e7ed129582babf6d1ae5c3b9d70d18',
|
'md5': '17e7ed129582babf6d1ae5c3b9d70d18',
|
||||||
|
|
Loading…
Reference in New Issue