about summary refs log tree commit diff
path: root/youtube_dl/extractor/livestream.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-04-08 17:42:26 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-04-08 17:42:26 +0800
commit4a20c9f628b6038766a76ed1c3e37aa6a2b34718 (patch)
tree55b96216768c98aac9f7383ab4e49f0e32e4571c /youtube_dl/extractor/livestream.py
parent418c5cc3fc3ea99b791ad1774a6b03504eab7086 (diff)
downloadyoutube-dl-4a20c9f628b6038766a76ed1c3e37aa6a2b34718.tar.gz
youtube-dl-4a20c9f628b6038766a76ed1c3e37aa6a2b34718.tar.xz
youtube-dl-4a20c9f628b6038766a76ed1c3e37aa6a2b34718.zip
[livestream] Extend _VALID_URL (fixes #5375)
Diffstat (limited to 'youtube_dl/extractor/livestream.py')
-rw-r--r--youtube_dl/extractor/livestream.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/livestream.py b/youtube_dl/extractor/livestream.py
index 2467f8bdd..ec309dadd 100644
--- a/youtube_dl/extractor/livestream.py
+++ b/youtube_dl/extractor/livestream.py
@@ -21,7 +21,7 @@ from ..utils import (
 
 class LivestreamIE(InfoExtractor):
     IE_NAME = 'livestream'
-    _VALID_URL = r'https?://new\.livestream\.com/.*?/(?P<event_name>.*?)(/videos/(?P<id>[0-9]+)(?:/player)?)?/?(?:$|[?#])'
+    _VALID_URL = r'https?://(?:new\.)?livestream\.com/.*?/(?P<event_name>.*?)(/videos/(?P<id>[0-9]+)(?:/player)?)?/?(?:$|[?#])'
     _TESTS = [{
         'url': 'http://new.livestream.com/CoheedandCambria/WebsterHall/videos/4719370',
         'md5': '53274c76ba7754fb0e8d072716f2292b',
@@ -51,6 +51,9 @@ class LivestreamIE(InfoExtractor):
     }, {
         'url': 'https://new.livestream.com/accounts/362/events/3557232/videos/67864563/player?autoPlay=false&height=360&mute=false&width=640',
         'only_matching': True,
+    }, {
+        'url': 'http://livestream.com/bsww/concacafbeachsoccercampeonato2015',
+        'only_matching': True,
     }]
 
     def _parse_smil(self, video_id, smil_url):