projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87a29e6
)
[videobam] Fix empty title handling
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 13 Mar 2014 16:03:29 +0000
(17:03 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 13 Mar 2014 16:03:43 +0000
(17:03 +0100)
youtube_dl/extractor/videobam.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/videobam.py
b/youtube_dl/extractor/videobam.py
index cdfff05aefee79c1d99d38305e14a2f60a6aef97..fed95ef71120a7137b47d953dcb830e6ede59f23 100644
(file)
--- 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)