mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-08 18:03:43 +00:00
fix regex
Authored by: bashonly
This commit is contained in:
parent
93ee01795e
commit
a82ed9157d
@ -13,7 +13,7 @@ class CTVNewsIE(InfoExtractor):
|
||||
rf'{_BASE_REGEX}video/c{_VIDEO_ID_RE}',
|
||||
rf'{_BASE_REGEX}video/?\?clipId={_VIDEO_ID_RE}',
|
||||
rf'{_BASE_REGEX}video/?\?(?:playlist|bin)Id={_PLAYLIST_ID_RE}',
|
||||
rf'{_BASE_REGEX}[^?#]*?{_PLAYLIST_ID_RE}',
|
||||
rf'{_BASE_REGEX}(?!video/)[^?#]*?{_PLAYLIST_ID_RE}',
|
||||
]
|
||||
_TESTS = [{
|
||||
'url': 'http://www.ctvnews.ca/video?clipId=901995',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user