fix regex

Authored by: bashonly
This commit is contained in:
bashonly 2024-11-17 14:30:31 -06:00
parent 93ee01795e
commit a82ed9157d
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -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',