From e2bc44054a74e15fa2c91c69ada0a22f399d106a Mon Sep 17 00:00:00 2001 From: Brad Terpstra Date: Wed, 31 Aug 2022 14:51:47 -0400 Subject: [PATCH] remove show name from URL CBS no longer uses the show name after `shows` in the URL. Format is: cbs.com/shows/video/ID This is the current season of Big Brother episode 24: https://www.cbs.com/shows/video/GdZlRWQ9xaxkOmx573U_ZhuSl_nfBqFw/ --- youtube_dl/extractor/cbs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.py index c79e55a75..66a4c77f6 100644 --- a/youtube_dl/extractor/cbs.py +++ b/youtube_dl/extractor/cbs.py @@ -27,7 +27,7 @@ class CBSBaseIE(ThePlatformFeedIE): class CBSIE(CBSBaseIE): - _VALID_URL = r'(?:cbs:|https?://(?:www\.)?(?:(?:cbs|paramountplus)\.com/shows/[^/]+/video|colbertlateshow\.com/(?:video|podcasts))/)(?P[\w-]+)' + _VALID_URL = r'(?:cbs:|https?://(?:www\.)?(?:(?:cbs|paramountplus)\.com/shows/video|colbertlateshow\.com/(?:video|podcasts))/)(?P[\w-]+)' _TESTS = [{ 'url': 'http://www.cbs.com/shows/garth-brooks/video/_u7W953k6la293J7EPTd9oHkSPs6Xn6_/connect-chat-feat-garth-brooks/',