]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[limelight] keep videos marked as previewStream
authorRemita Amine <remitamine@gmail.com>
Mon, 1 Aug 2016 15:25:41 +0000 (16:25 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 1 Aug 2016 15:25:41 +0000 (16:25 +0100)
https://github.com/rg3/youtube-dl/commit/e382b953f00982a2085d3e0b1b6fb4d2a0f2db7e#commitcomment-18472915

youtube_dl/extractor/limelight.py

index 0d7abbaa8423ff5c44fdf1b21e8da5cbe4e57b24..efe1437e0863c126ae378895803fd5c6e1c81a37 100644 (file)
@@ -37,7 +37,7 @@ class LimelightBaseIE(InfoExtractor):
 
         for stream in streams:
             stream_url = stream.get('url')
-            if not stream_url or stream.get('previewStream') or stream.get('drmProtected'):
+            if not stream_url or stream.get('drmProtected'):
                 continue
             ext = determine_ext(stream_url)
             if ext == 'f4m':
@@ -177,7 +177,7 @@ class LimelightMediaIE(LimelightBaseIE):
             'subtitles': 'mincount:9',
         },
         'params': {
-            # m3u8 download
+            # rtmp download
             'skip_download': True,
         },
     }, {