Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
"extractor error" on facebook video #8572
Comments
|
I got the following message even with an account:
Could you check again this is a public video? Nevertheless, correct error messages will be displayed in the next version. |
|
I've just checked and the video is still up and it is shown as being public |
|
Which browser are you using? |
|
Chromium (not Chrome) on Kubuntu |
|
I still can't access the video. Could you modify line 189 of
to
And try again? |
|
/usr/bin/youtube-dl/ is a file youtube-dl -Uyoutube-dl is up-to-date (2016.02.13) |
|
Sorry I misunderstood something. Could you download http://chyen.twbbs.org/downloads/youtube-dl and try the following command:
|
|
Hmmm .... I tried it with http://www.downvids.net/ and it said 1st WAY When I copied the page source into their "2nd WAY" text box it successfully grabbed the video. There is something a little odd about the video's privacy setting: it is shown as "public" but hovering the mouse over "public" pops up "custom". I have a screenshot but can't see how to attach it ... Hmm, yes: can't view the video in an incognito window so it looks as if you have to be logged in to facebook to access it. So it looks as if a way to access it might be what downvids does and have the user pass youtube-dl the page source: is that a facility that already exists within youtube-dl, or could be easily implemented? |
|
There must be something different in your browser and outside it. What happens if you go to https://www.facebook.com/me in the browser? If you have already logged into Facebook, this link leads to your personal wall, or it asks for login. |
|
Yes it does seem to be a logged-in issue - I've added to my comment above |
|
Then the following command should work:
If not, feel free to leave comments and I or others will reopen this issue. |
|
Yes that works, thanks. Will you fix it so it produces a useful error message to clue the user up to what's wrong (e.g. show facebook's error message) and maybe what they need to do (i.e. use --username)? And thanks for your work on an excellent program! |
Attempting to download public video from facebook with youtube-dl on kubuntu (12.04 I think)
I have just done sudo youtube-dl -U and still get the error:
~/Videos/YouTube$ youtube-dl --verbose https://www.facebook.com/bildirchin/videos/970598942987713/
[debug] System config: []
[debug] User config: [u'--output', u'%(title)s [%(extractor)s %(id)s].%(ext)s']
[debug] Command-line args: [u'--verbose', u'https://www.facebook.com/bildirchin/videos/970598942987713/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.13
[debug] Python version 2.7.6 - Linux-3.13.0-77-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, rtmpdump 2.4
[debug] Proxy map: {}
[facebook] 970598942987713: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError(u'instances',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 315, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 189, in _real_extract
for item in server_js_data['instances']:
KeyError: u'instances'
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 666, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 321, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'instances',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.