diff options
| author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-05-04 16:54:01 +0200 | 
|---|---|---|
| committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-05-04 16:54:01 +0200 | 
| commit | a90552663e555c89638706141c31b0022a9ba27b (patch) | |
| tree | 3b9f0318614d77cd877c68ac643a8ff3a9e523c6 | |
| parent | 883340c10758abf76a250172deb12b528b8da7b8 (diff) | |
[livestream:original] Update url format (fixes #5598)
| -rw-r--r-- | youtube_dl/extractor/livestream.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/livestream.py b/youtube_dl/extractor/livestream.py index 5be59a92f..6d7733e41 100644 --- a/youtube_dl/extractor/livestream.py +++ b/youtube_dl/extractor/livestream.py @@ -194,19 +194,19 @@ class LivestreamIE(InfoExtractor):  # The original version of Livestream uses a different system  class LivestreamOriginalIE(InfoExtractor):      IE_NAME = 'livestream:original' -    _VALID_URL = r'''(?x)https?://www\.livestream\.com/ +    _VALID_URL = r'''(?x)https?://original\.livestream\.com/          (?P<user>[^/]+)/(?P<type>video|folder)          (?:\?.*?Id=|/)(?P<id>.*?)(&|$)          '''      _TESTS = [{ -        'url': 'http://www.livestream.com/dealbook/video?clipId=pla_8aa4a3f1-ba15-46a4-893b-902210e138fb', +        'url': 'http://original.livestream.com/dealbook/video?clipId=pla_8aa4a3f1-ba15-46a4-893b-902210e138fb',          'info_dict': {              'id': 'pla_8aa4a3f1-ba15-46a4-893b-902210e138fb',              'ext': 'mp4',              'title': 'Spark 1 (BitCoin) with Cameron Winklevoss & Tyler Winklevoss of Winklevoss Capital',          },      }, { -        'url': 'https://www.livestream.com/newplay/folder?dirId=a07bf706-d0e4-4e75-a747-b021d84f2fd3', +        'url': 'https://original.livestream.com/newplay/folder?dirId=a07bf706-d0e4-4e75-a747-b021d84f2fd3',          'info_dict': {              'id': 'a07bf706-d0e4-4e75-a747-b021d84f2fd3',          },  | 
