[bbccouk] Extend _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Thu, 29 Jun 2017 15:29:28 +0000 (22:29 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 29 Jun 2017 15:29:28 +0000 (22:29 +0700)
youtube_dl/extractor/bbc.py

index 6f5f9aa3a0e6a2621cf9ac7bac14ff0f7577a60b..79ded6ba1de68770a5d2fb4d603b5b5a1c03fdcc 100644 (file)
@@ -36,7 +36,7 @@ class BBCCoUkIE(InfoExtractor):
                         (?:
                             programmes/(?!articles/)|
                             iplayer(?:/[^/]+)?/(?:episode/|playlist/)|
-                            music/clips[/#]|
+                            music/(?:clips|audiovideo/popular)[/#]|
                             radio/player/
                         )
                         (?P<id>%s)(?!/(?:episodes|broadcasts|clips))
@@ -229,8 +229,10 @@ class BBCCoUkIE(InfoExtractor):
         }, {
             'url': 'http://www.bbc.co.uk/radio/player/p03cchwf',
             'only_matching': True,
-        }
-    ]
+        }, {
+            'url': 'https://www.bbc.co.uk/music/audiovideo/popular#p055bc55',
+            'only_matching': True,
+        }]
 
     _USP_RE = r'/([^/]+?)\.ism(?:\.hlsv2\.ism)?/[^/]+\.m3u8'