diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-08-28 10:55:32 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-08-28 10:55:32 +0200 |
commit | 3524cc25cad5bb9c717a695c796a24ce3fe2d6f3 (patch) | |
tree | 602dc0203ab3bfeb0519cec478940ba765e4a4fd /youtube_dl/extractor/common.py | |
parent | 29a7e1f261f99240e7461caf185260511e03174b (diff) |
[sportdeutschland] Add support for more plain videos
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 3 |
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 = { |