From 301d51e362f3eeaed2662727660d8b9448010f03 Mon Sep 17 00:00:00 2001 From: EGA-SUPREMO Date: Thu, 13 Jun 2024 07:37:10 -0400 Subject: [PATCH] fix regex for url --- yt_dlp/extractor/cablecasttv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/cablecasttv.py b/yt_dlp/extractor/cablecasttv.py index 6c51c1014..a8ca5bcdd 100644 --- a/yt_dlp/extractor/cablecasttv.py +++ b/yt_dlp/extractor/cablecasttv.py @@ -2,7 +2,7 @@ class CableCastTVIE(InfoExtractor): - _VALID_URL = r'https:\/\/[a-zA-Z0-9-]+\.cablecast\.tv\/show\/(?P\d+)' + _VALID_URL = r'https?://(?:[a-z\-\.]+\.cablecast\.tv/show/|[a-z\-\.]+/CablecastPublicSite/show/)(?P\d+)' _TESTS = [{ 'url': 'https://wctv.wilmette.com/CablecastPublicSite/show/532', 'md5': '17e7ed129582babf6d1ae5c3b9d70d18',