aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/threeqsdn.py
diff options
context:
space:
mode:
authorNehal Patel <nehalvpatels+github@gmail.com>2016-07-07 16:39:39 -0500
committerSergey M․ <dstftw@gmail.com>2016-07-15 03:06:23 +0700
commit7b0d333a7e7f13858cc0a24a89dc32b07a2a84f3 (patch)
treee8b24cf4554c1911d66875b04405b922dda7b3bc /youtube_dl/extractor/threeqsdn.py
parent342f0c3682885ad4c7d709686b2a38a466dd05a0 (diff)
Fix unit tests for m3u8 and RTSP extractors that require ffmpeg or mplayer
Diffstat (limited to 'youtube_dl/extractor/threeqsdn.py')
-rw-r--r--youtube_dl/extractor/threeqsdn.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/youtube_dl/extractor/threeqsdn.py b/youtube_dl/extractor/threeqsdn.py
index a0bc12c81..33588424d 100644
--- a/youtube_dl/extractor/threeqsdn.py
+++ b/youtube_dl/extractor/threeqsdn.py
@@ -31,9 +31,13 @@ class ThreeQSDNIE(InfoExtractor):
'info_dict': {
'id': 'd755d94b-4ab9-11e3-9162-0025907ad44f',
'ext': 'mp4',
- 'title': 'd755d94b-4ab9-11e3-9162-0025907ad44f',
- 'is_live': False,
+ 'title': 're:^d755d94b-4ab9-11e3-9162-0025907ad44f [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
+ 'is_live': True,
+ },
+ 'params': {
+ 'skip_download': True, # m3u8 downloads
},
+ 'expected_warnings': ['Failed to download MPD manifest'],
}, {
# live audio stream
'url': 'http://playout.3qsdn.com/9edf36e0-6bf2-11e2-a16a-9acf09e2db48',