From a82ed9157d0a43bb8e278bb4d24335ed709e9803 Mon Sep 17 00:00:00 2001 From: bashonly Date: Sun, 17 Nov 2024 14:30:31 -0600 Subject: [PATCH] fix regex Authored by: bashonly --- yt_dlp/extractor/ctvnews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/ctvnews.py b/yt_dlp/extractor/ctvnews.py index c228b36fba..6a6b184096 100644 --- a/yt_dlp/extractor/ctvnews.py +++ b/yt_dlp/extractor/ctvnews.py @@ -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',