youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 59ee8a86471af488c2ee16dcacf7a913636f0150
parent af284305d58a9915a8ef00d056484b3a59548dda
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon, 30 Nov 2015 20:10:09 +0600

[facebook] Make alternative title optional (Closes #7700)

Diffstat:
Myoutube_dl/extractor/facebook.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py @@ -164,7 +164,7 @@ class FacebookIE(InfoExtractor): if not video_title: video_title = self._html_search_regex( r'(?s)<span class="fbPhotosPhotoCaption".*?id="fbPhotoPageCaption"><span class="hasCaption">(.*?)</span>', - webpage, 'alternative title', fatal=False) + webpage, 'alternative title', default=None) video_title = limit_length(video_title, 80) if not video_title: video_title = 'Facebook video #%s' % video_id