summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteven Maude <StevenMaude@users.noreply.github.com>2017-04-08 15:39:07 +0100
committerSergey M <dstftw@gmail.com>2017-04-08 21:39:07 +0700
commit95152630db22a648afefc7dc447da17f8989513c (patch)
tree7bf499a0ddef09a500848008d32168063d8f9b66
parent04e431cf97e8b73190e8db77de0e3d2b5655c195 (diff)
downloadyoutube-dl-95152630db22a648afefc7dc447da17f8989513c.tar.gz
youtube-dl-95152630db22a648afefc7dc447da17f8989513c.tar.xz
youtube-dl-95152630db22a648afefc7dc447da17f8989513c.zip
[rbmaradio] Add support for redbullradio.com URLs
-rw-r--r--youtube_dl/extractor/rbmaradio.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/rbmaradio.py b/youtube_dl/extractor/rbmaradio.py
index 53b82fba3..afa7b9161 100644
--- a/youtube_dl/extractor/rbmaradio.py
+++ b/youtube_dl/extractor/rbmaradio.py
@@ -13,15 +13,15 @@ from ..utils import (
 
 
 class RBMARadioIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?rbmaradio\.com/shows/(?P<show_id>[^/]+)/episodes/(?P<id>[^/?#&]+)'
+    _VALID_URL = r'https?://(?:www\.)?(?:rbmaradio|redbullradio)\.com/shows/(?P<show_id>[^/]+)/episodes/(?P<id>[^/?#&]+)'
     _TEST = {
         'url': 'https://www.rbmaradio.com/shows/main-stage/episodes/ford-lopatin-live-at-primavera-sound-2011',
         'md5': '6bc6f9bcb18994b4c983bc3bf4384d95',
         'info_dict': {
             'id': 'ford-lopatin-live-at-primavera-sound-2011',
             'ext': 'mp3',
-            'title': 'Main Stage - Ford & Lopatin',
-            'description': 'md5:4f340fb48426423530af5a9d87bd7b91',
+            'title': 'Main Stage - Ford & Lopatin at Primavera Sound',
+            'description': 'md5:d41d8cd98f00b204e9800998ecf8427e',
             'thumbnail': r're:^https?://.*\.jpg',
             'duration': 2452,
             'timestamp': 1307103164,