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

[facebook] Correct regexp

This commit is contained in:
Philipp Hagemeister 2014-03-04 03:39:45 +01:00
parent b37b94501c
commit d0ff838433

View file

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