diff options
author | makeworld <25111343+makeworld-the-better-one@users.noreply.github.com> | 2023-03-10 02:53:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 13:23:19 +0530 |
commit | 871c907454693940cb56906ed9ea49fcb7154829 (patch) | |
tree | 10c4b4f08de14057e6e2ef821d7a927a37c22ea0 | |
parent | 0551511b45f7847f40e4314aa9e624e80d086539 (diff) |
[extractor/cbc:gem] Update `_VALID_URL` (#6499)
Authored by: makeworld-the-better-one
Closes #6395
-rw-r--r-- | yt_dlp/extractor/cbc.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/cbc.py b/yt_dlp/extractor/cbc.py index 210f5f8ee..eadb3f8c0 100644 --- a/yt_dlp/extractor/cbc.py +++ b/yt_dlp/extractor/cbc.py @@ -202,7 +202,7 @@ class CBCPlayerIE(InfoExtractor): class CBCGemIE(InfoExtractor): 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 = [{ # This is a normal, public, TV show video 'url': 'https://gem.cbc.ca/media/schitts-creek/s06e01', @@ -245,6 +245,9 @@ class CBCGemIE(InfoExtractor): }, 'params': {'format': 'bv'}, 'skip': 'Geo-restricted to Canada', + }, { + 'url': 'https://gem.cbc.ca/nadiyas-family-favourites/s01e01', + 'only_matching': True, }] _GEO_COUNTRIES = ['CA'] |