[extractor/cbc:gem] Update _VALID_URL
(#6499)
Authored by: makeworld-the-better-one Closes #6395
This commit is contained in:
parent
0551511b45
commit
871c907454
1 changed files with 4 additions and 1 deletions
|
@ -202,7 +202,7 @@ class CBCPlayerIE(InfoExtractor):
|
||||||
|
|
||||||
class CBCGemIE(InfoExtractor):
|
class CBCGemIE(InfoExtractor):
|
||||||
IE_NAME = 'gem.cbc.ca'
|
IE_NAME = 'gem.cbc.ca'
|
||||||
_VALID_URL = r'https?://gem\.cbc\.ca/media/(?P<id>[0-9a-z-]+/s[0-9]+[a-z][0-9]+)'
|
_VALID_URL = r'https?://gem\.cbc\.ca/(?:media/)?(?P<id>[0-9a-z-]+/s[0-9]+[a-z][0-9]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
# This is a normal, public, TV show video
|
# This is a normal, public, TV show video
|
||||||
'url': 'https://gem.cbc.ca/media/schitts-creek/s06e01',
|
'url': 'https://gem.cbc.ca/media/schitts-creek/s06e01',
|
||||||
|
@ -245,6 +245,9 @@ class CBCGemIE(InfoExtractor):
|
||||||
},
|
},
|
||||||
'params': {'format': 'bv'},
|
'params': {'format': 'bv'},
|
||||||
'skip': 'Geo-restricted to Canada',
|
'skip': 'Geo-restricted to Canada',
|
||||||
|
}, {
|
||||||
|
'url': 'https://gem.cbc.ca/nadiyas-family-favourites/s01e01',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
_GEO_COUNTRIES = ['CA']
|
_GEO_COUNTRIES = ['CA']
|
||||||
|
|
Loading…
Reference in a new issue