logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 81ec7c7901ddfe9366cf1af010eb31b906dcfce0
parent 4a2080e4077e9e12c860d82a4d2eebc75c1ea54b
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 23 Sep 2013 11:24:10 +0200

[facebook] Allow untitled videos (Fixes #1484)

Diffstat:

Myoutube_dl/extractor/facebook.py4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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,