summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-03-13 17:03:29 +0100
committerPhilipp Hagemeister <[email protected]>2014-03-13 17:03:43 +0100
commit1e0eb60f1aa693352320d75485d3dcb626116e4a (patch)
tree48d7ff8431c59518e04bf102e3e1bf7199bc3c37
parent87a29e6f25fce2bae9369b5c30624c39ddf02eab (diff)
downloadyoutube-dl-1e0eb60f1aa693352320d75485d3dcb626116e4a.tar.gz
youtube-dl-1e0eb60f1aa693352320d75485d3dcb626116e4a.zip
[videobam] Fix empty title handling
-rw-r--r--youtube_dl/extractor/videobam.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/videobam.py b/youtube_dl/extractor/videobam.py
index cdfff05ae..fed95ef71 100644
--- a/youtube_dl/extractor/videobam.py
+++ b/youtube_dl/extractor/videobam.py
@@ -29,6 +29,7 @@ class VideoBamIE(InfoExtractor):
'info_dict': {
'id': 'pqLvq',
'ext': 'mp4',
+ 'title': '_',
}
},
]
@@ -61,7 +62,7 @@ class VideoBamIE(InfoExtractor):
self._sort_formats(formats)
- title = self._og_search_title(page, default='VideoBam', fatal=False)
+ title = self._og_search_title(page, default='_', fatal=False)
description = self._og_search_description(page, default=None)
thumbnail = self._og_search_thumbnail(page)
uploader = self._html_search_regex(r'Upload by ([^<]+)</a>', page, 'uploader', fatal=False, default=None)