]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[bbccouk] Extend _VALID_URL (closes #19200)
authorJay <jayseetow@gmail.com>
Mon, 26 Aug 2019 15:16:18 +0000 (23:16 +0800)
committerSergey M․ <dstftw@gmail.com>
Tue, 27 Aug 2019 18:53:40 +0000 (01:53 +0700)
youtube_dl/extractor/bbc.py

index e76507951203b2f305a9fb161073e75611e5e919..3f820eed294b718696e545b695d4d64c0745181b 100644 (file)
@@ -40,6 +40,7 @@ class BBCCoUkIE(InfoExtractor):
                             iplayer(?:/[^/]+)?/(?:episode/|playlist/)|
                             music/(?:clips|audiovideo/popular)[/#]|
                             radio/player/|
+                            sounds/play/|
                             events/[^/]+/play/[^/]+/
                         )
                         (?P<id>%s)(?!/(?:episodes|broadcasts|clips))
@@ -220,6 +221,20 @@ class BBCCoUkIE(InfoExtractor):
                 # rtmp download
                 'skip_download': True,
             },
+        }, {
+            'url': 'https://www.bbc.co.uk/sounds/play/m0007jzb',
+            'note': 'Audio',
+            'info_dict': {
+                'id': 'm0007jz9',
+                'ext': 'mp4',
+                'title': 'BBC Proms, 2019, Prom 34: West–Eastern Divan Orchestra',
+                'description': "Live BBC Proms. West–Eastern Divan Orchestra with Daniel Barenboim and Martha Argerich.",
+                'duration': 9840,
+            },
+            'params': {
+                # rtmp download
+                'skip_download': True,
+            }
         }, {
             'url': 'http://www.bbc.co.uk/iplayer/playlist/p01dvks4',
             'only_matching': True,