projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a2080e
)
[facebook] Allow untitled videos (Fixes #1484)
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 23 Sep 2013 09:24:10 +0000
(11:24 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 23 Sep 2013 09:24:33 +0000
(11:24 +0200)
youtube_dl/extractor/facebook.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/facebook.py
b/youtube_dl/extractor/facebook.py
index beaa5b4bdfe146419a97edb4b01bf65ec51c2551..9d1bc07510c3148b8ed8659d697c46017c6a36ff 100644
(file)
--- a/
youtube_dl/extractor/facebook.py
+++ b/
youtube_dl/extractor/facebook.py
@@
-106,8
+106,8
@@
class FacebookIE(InfoExtractor):
video_duration = int(video_data['video_duration'])
thumbnail = video_data['thumbnail_src']
- video_title = self._html_search_regex(
'<h2 class="uiHeaderTitle">([^<]+)</h2>',
- webpage, u'title')
+ video_title = self._html_search_regex(
+
r'<h2 class="uiHeaderTitle">([^<]*)</h2>',
webpage, u'title')
info = {
'id': video_id,