]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[facebook] Correct regexp
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 4 Mar 2014 02:39:45 +0000 (03:39 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 4 Mar 2014 02:39:45 +0000 (03:39 +0100)
youtube_dl/extractor/facebook.py

index 8147800d2548efa76bf114768b867be9de6b2489..00b2443a114a69ffff30e1faf99c6857f6b0a186 100644 (file)
@@ -55,7 +55,7 @@ class FacebookIE(InfoExtractor):
         login_page = self._download_webpage(login_page_req, None, note=False,
             errnote='Unable to download login page')
         lsd = self._search_regex(
-            r'<input type="hidden" name="lsd" value="([^""]*)"',
+            r'<input type="hidden" name="lsd" value="([^"]*)"',
             login_page, 'lsd')
         lgnrnd = self._search_regex(r'name="lgnrnd" value="([^"]*?)"', login_page, 'lgnrnd')