]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/extractor/common.py
[sportdeutschland] Add support for more plain videos
[youtube-dl.git] / youtube_dl / extractor / common.py
index fc3e02663f038fb220a328c853547657b04a8f9a..cc0a77e1ed755c2ca971246a94b766858aec8828 100644 (file)
@@ -664,6 +664,9 @@ class InfoExtractor(object):
             elif line.startswith('#') or not line.strip():
                 continue
             else:
+                if last_info is none:
+                    formats.append({'url': line})
+                    continue
                 tbr = int_or_none(last_info.get('BANDWIDTH'), scale=1000)
 
                 f = {