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

ERROR: This video is only available for registered users, use --username and --password options to provide account credentials. #3936

Closed
AbhimanyuAryan opened this issue Oct 12, 2014 · 3 comments

Comments

@AbhimanyuAryan
Copy link

@AbhimanyuAryan AbhimanyuAryan commented Oct 12, 2014

i generally use youtube-dl -t to download any video. What should be the command with credentials to download this video?

@phihag
Copy link
Contributor

@phihag phihag commented Oct 12, 2014

The -t option doesn't do anything nowadays, so you can drop it right away.

Use youtube-dl --username YOUR_USERNAME --password YOUR_PASSWORD to sign in to a service.

@phihag phihag closed this Oct 12, 2014
@BETLOG
Copy link

@BETLOG BETLOG commented Nov 20, 2019

I just got the same error attempting to download facebook videos that are public.
I have downloaded hundreds of videos like this and never had a login requirement before.
It's possible the hong-kong context is related, but the fact that I can watch and not download them is weird.

ERROR: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.

https://www.facebook.com/jovan.ferraz/videos/465222417443406/
https://www.facebook.com/jovan.ferraz/videos/465222527443395/

I get the same failure on:
Kubuntu 18.04
youtube-dl --version
2019.10.22
2019.11.05

Kubuntu 14.04
youtube-dl --version
2019-07-16

@cswjohnni
Copy link

@cswjohnni cswjohnni commented Mar 14, 2020

for facebook private video, you have to use the .netrc file, the file would contains as following:

machine facebook
login xxxxx (here is your facebook login ID/username)
password xxxxx (here is your facebook login password)

the .netrc file should be in your home folder, for example Apple$
use ls -a to see if the .netrc file is there

then, use the command
youtube-dl https://www.facebook.com/xxxx (here is your facebook video link URL) --netrc

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
4 participants
You can’t perform that action at this time.