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

Youtube username and password are not applied to all links in batch file #5422

Closed
tanmahah opened this issue Apr 14, 2015 · 3 comments
Closed

Youtube username and password are not applied to all links in batch file #5422

tanmahah opened this issue Apr 14, 2015 · 3 comments

Comments

@tanmahah
Copy link

@tanmahah tanmahah commented Apr 14, 2015

I'm trying to download videos from youtube with youtube-dl.
I've provided a text file to extract URL with -a.
I also provided --username and --password, but it appears that youtube-dl applied my credentials to only first download and hence for other few videos, I'm getting 'Please sign in to view this videos'.
Please, tell me how to ask youtube-dl to apply the same Username and Password to all links provided in text file.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 14, 2015

Try the --netrc option

@tanmahah
Copy link
Author

@tanmahah tanmahah commented Apr 14, 2015

Yes, I just learnt how to create .netrc file and used the option. I've to remove the --username --password from command, so that it doesn't conflict with --netrc.
It appears to work. I'll let you know if I face any problem.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 14, 2015

Closing. If you encounter any other problem, feel free to open new issues.

@yan12125 yan12125 closed this Apr 14, 2015
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.