summary refs log tree commit diff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2021-03-07 08:32:37 +0100
committerRemita Amine <remitamine@gmail.com>2021-03-07 08:32:37 +0100
commit7f064d50db957d551dccde73ab73318f53ab3b17 (patch)
treea9acfbeb3e871fc54a30b21573891f0abac1b67a
parentb8b622fbebb158db95edb05a8cc248668194b430 (diff)
downloadyoutube-dl-7f064d50db957d551dccde73ab73318f53ab3b17.tar.gz
youtube-dl-7f064d50db957d551dccde73ab73318f53ab3b17.tar.xz
youtube-dl-7f064d50db957d551dccde73ab73318f53ab3b17.zip
[cbs] add support for Paramount+ (closes #28342)
-rw-r--r--youtube_dl/extractor/cbs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cbs.py b/youtube_dl/extractor/cbs.py
index 4a19a73d2..c79e55a75 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\.com/shows/[^/]+/video|colbertlateshow\.com/(?:video|podcasts))/)(?P<id>[\w-]+)'
+    _VALID_URL = r'(?:cbs:|https?://(?:www\.)?(?:(?:cbs|paramountplus)\.com/shows/[^/]+/video|colbertlateshow\.com/(?:video|podcasts))/)(?P<id>[\w-]+)'
 
     _TESTS = [{
         'url': 'http://www.cbs.com/shows/garth-brooks/video/_u7W953k6la293J7EPTd9oHkSPs6Xn6_/connect-chat-feat-garth-brooks/',
@@ -52,6 +52,9 @@ class CBSIE(CBSBaseIE):
     }, {
         'url': 'http://www.colbertlateshow.com/podcasts/dYSwjqPs_X1tvbV_P2FcPWRa_qT6akTC/in-the-bad-room-with-stephen/',
         'only_matching': True,
+    }, {
+        'url': 'https://www.paramountplus.com/shows/all-rise/video/QmR1WhNkh1a_IrdHZrbcRklm176X_rVc/all-rise-space/',
+        'only_matching': True,
     }]
 
     def _extract_video_info(self, content_id, site='cbs', mpx_acc=2198311517):