Browse Source

[facebook] Correct regexp

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
d0ff838433
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/facebook.py

+ 1
- 1
youtube_dl/extractor/facebook.py View 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')


Loading…
Cancel
Save