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 (which seems to be supported?) fails with "Cannot parse data". #1658

Closed
danwdart opened this issue Oct 26, 2013 · 2 comments
Closed

Facebook (which seems to be supported?) fails with "Cannot parse data". #1658

danwdart opened this issue Oct 26, 2013 · 2 comments

Comments

@danwdart
Copy link

@danwdart danwdart commented Oct 26, 2013

$ ./youtube-dl --verbose https://www.facebook.com/photo.php?v=10201581214466619
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.facebook.com/photo.php?v=10201581214466619']
[debug] youtube-dl version 2013.10.23.2
[debug] Python version 2.7.5+ - Linux-3.12.0-rc3-Dan+-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[facebook] 10201581214466619: Downloading webpage
ERROR: Cannot parse data; 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 342, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 121, in extract
return self._real_extract(url)
File "./youtube-dl/youtube_dl/extractor/facebook.py", line 96, in _real_extract
raise ExtractorError(u'Cannot parse data')
ExtractorError: Cannot parse data; 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.

@danwdart
Copy link
Author

@danwdart danwdart commented Oct 26, 2013

This presumably is because of privacy restrictions on that video: probably a good idea to have a "Can't read because I don't have permission" on it, I suppose.

@jaimeMF jaimeMF closed this in 6f71ef5 Oct 27, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 27, 2013

Now, it reports the same message as Facebook: The page you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may have expired, or you may not have permission to view this page.. If you can see it when login, using the --netrc option (or --username and --pasword) should work now.
Thanks for the report.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.