1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[facebook] Allow untitled videos (Fixes #1484)

This commit is contained in:
Philipp Hagemeister 2013-09-23 11:24:10 +02:00
parent 4a2080e407
commit 81ec7c7901

View file

@ -106,8 +106,8 @@ class FacebookIE(InfoExtractor):
video_duration = int(video_data['video_duration']) video_duration = int(video_data['video_duration'])
thumbnail = video_data['thumbnail_src'] thumbnail = video_data['thumbnail_src']
video_title = self._html_search_regex('<h2 class="uiHeaderTitle">([^<]+)</h2>', video_title = self._html_search_regex(
webpage, u'title') r'<h2 class="uiHeaderTitle">([^<]*)</h2>', webpage, u'title')
info = { info = {
'id': video_id, 'id': video_id,