aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index fc3e02663..cc0a77e1e 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -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 = {