Browse Source

[limelight] keep videos marked as previewStream

https://github.com/rg3/youtube-dl/commit/e382b953f00982a2085d3e0b1b6fb4d2a0f2db7e#commitcomment-18472915
Remita Amine 9 years ago
parent
commit
a70e45f80a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      youtube_dl/extractor/limelight.py

+ 2 - 2
youtube_dl/extractor/limelight.py

@@ -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,
         },
     }, {