From: Philipp Hagemeister Date: Mon, 23 Sep 2013 09:24:10 +0000 (+0200) Subject: [facebook] Allow untitled videos (Fixes #1484) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=81ec7c7901ddfe9366cf1af010eb31b906dcfce0;p=youtube-dl.git [facebook] Allow untitled videos (Fixes #1484) --- 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('

([^<]+)

', - webpage, u'title') + video_title = self._html_search_regex( + r'

([^<]*)

', webpage, u'title') info = { 'id': video_id,