From: Philipp Hagemeister Date: Tue, 4 Mar 2014 02:39:04 +0000 (+0100) Subject: [facebook] Fix login detection (#2505) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b37b94501ccd02874cfe800e42b56ade63947d5f;p=youtube-dl [facebook] Fix login detection (#2505) --- diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py index 1f58d2e62..8147800d2 100644 --- a/youtube_dl/extractor/facebook.py +++ b/youtube_dl/extractor/facebook.py @@ -54,7 +54,9 @@ class FacebookIE(InfoExtractor): self.report_login() login_page = self._download_webpage(login_page_req, None, note=False, errnote='Unable to download login page') - lsd = self._search_regex(r'"lsd":"(\w*?)"', login_page, 'lsd') + lsd = self._search_regex( + r'