From f65c404408b99b8053a74d2d8f909b22e78533e3 Mon Sep 17 00:00:00 2001 From: nmrugg Date: Sat, 14 Mar 2015 14:59:24 +0800 Subject: [PATCH] Add TestDownload.test_Livestream_2 JSON test. --- youtube_dl/extractor/livestream.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/youtube_dl/extractor/livestream.py b/youtube_dl/extractor/livestream.py index 0f7baa20e..3f52b50bf 100644 --- a/youtube_dl/extractor/livestream.py +++ b/youtube_dl/extractor/livestream.py @@ -43,6 +43,13 @@ 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://new.livestream.com/api/accounts/1504418/events/3705884/feed.json?&id=74703579&newer=-1&type=video', + 'info_dict': { + 'id': 'unknown', + 'title': 'unknown', + }, + 'playlist_mincount': 10, }] def _parse_smil(self, video_id, smil_url):