youtube-dl

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

commit bf24c3d01798fad0a8344a642eb5d46231fd78c2
parent f0bfaa2d7d9563975f1f6effa75d28dcdb1c23ce
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed, 27 May 2015 21:25:07 +0600

[facebook] Improve title regex (Closes #5816)

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 @@ -152,7 +152,7 @@ class FacebookIE(InfoExtractor): raise ExtractorError('Cannot find video formats') video_title = self._html_search_regex( - r'<h2 class="uiHeaderTitle">([^<]*)</h2>', webpage, 'title', + r'<h2\s+[^>]*class="uiHeaderTitle"[^>]*>([^<]*)</h2>', webpage, 'title', default=None) if not video_title: video_title = self._html_search_regex(