Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook: RegexNotFoundError: Unable to extract nh #2743

Closed
barsnick opened this issue Apr 13, 2014 · 1 comment
Closed

Facebook: RegexNotFoundError: Unable to extract nh #2743

barsnick opened this issue Apr 13, 2014 · 1 comment

Comments

@barsnick
Copy link

youtube-dl asks me to report this. This is a video posted to a closed group which I am a member of:

[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', '-u', '<PRIVATE>', '-p', '<PRIVATE>', '-c', '-l', 'https://www.facebook.com/photo.php?v=593377487437207&set=o.670674052996796&type=2&theater']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.5 - Linux-3.13.9-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
[debug] Proxy map: {}
[facebook] Downloading login page
[facebook] Logging in
ERROR: Unable to extract nh; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 514, in extract_info
    ie_result = ie.extract(url)
  File "./youtube-dl/youtube_dl/extractor/common.py", line 160, in extract
    self.initialize()
  File "./youtube-dl/youtube_dl/extractor/common.py", line 155, in initialize
    self._real_initialize()
  File "./youtube-dl/youtube_dl/extractor/facebook.py", line 94, in _real_initialize
    self._login()
  File "./youtube-dl/youtube_dl/extractor/facebook.py", line 79, in _login
    'nh': self._search_regex(r'name="nh" value="(\w*?)"', login_results, 'nh'),
  File "./youtube-dl/youtube_dl/extractor/common.py", line 373, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract nh; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
@phihag phihag closed this as completed in 24b8924 Apr 21, 2014
@phihag
Copy link
Contributor

phihag commented Apr 21, 2014

Thank you for the report. Facebook logins have been fixed in youtube-dl 2014.04.21.5. Type ./youtube-dl -U to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants