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

Separate netrc entry for youtube:watchlater #16494

Closed
blimmo opened this issue May 18, 2018 · 2 comments
Closed

Separate netrc entry for youtube:watchlater #16494

blimmo opened this issue May 18, 2018 · 2 comments

Comments

@blimmo
Copy link

@blimmo blimmo commented May 18, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.05.18

  • At least skimmed through the README, most notably the FAQ and BUGS sections

  • Searched the bugtracker for similar issues including closed ones

  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

I'd like to download videos from my watchlater playlist on youtube. While this is possible by logging in I want to use netrc without logging in for other youtube videos. Since it's a separate extractor is it possible to specify a login for youtube:watchlater separately from normal youtube?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 18, 2018

Not possible. Watch later extractor just delegates to other extractors so separating different netrc entry for it won't have any effect. Needless to say it's misleading to have several netrc entries for effectively the same service. Thus such feature won't be added.

@dstftw dstftw closed this May 18, 2018
@blimmo
Copy link
Author

@blimmo blimmo commented May 19, 2018

Thanks for the quick response!

For future readers who want to only login sometimes, I ended up writing a script for it which temporarily changes my $HOME so ytdl finds a different .netrc which has just my youtube password in it.

set HOME=<temphome containing temp .netrc>
youtube-dl -n %* https://www.youtube.com/playlist?list=WL

(Batch script for windows though I'm sure an equivalent bash script could be easily written)

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.