diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-09-23 11:24:10 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-09-23 11:24:33 +0200 |
commit | 81ec7c7901ddfe9366cf1af010eb31b906dcfce0 (patch) | |
tree | 57c0506865ffe68a14d5ef09ddb73c50fbccd8b5 /youtube_dl/extractor/facebook.py | |
parent | 4a2080e4077e9e12c860d82a4d2eebc75c1ea54b (diff) |
[facebook] Allow untitled videos (Fixes #1484)
Diffstat (limited to 'youtube_dl/extractor/facebook.py')
-rw-r--r-- | youtube_dl/extractor/facebook.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py index beaa5b4bd..9d1bc0751 100644 --- 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, |