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

When youtube-dl requires authentication when download YouTube video #12080

Closed
Khang-NT opened this issue Feb 11, 2017 · 1 comment
Closed

When youtube-dl requires authentication when download YouTube video #12080

Khang-NT opened this issue Feb 11, 2017 · 1 comment

Comments

@Khang-NT
Copy link
Contributor

@Khang-NT Khang-NT commented Feb 11, 2017

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

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

Seem like youtube-dl always does "login" in init phase with all videos if user specify "username" and "password" parameter.

    def _real_initialize(self):
        if self._downloader is None:
            return
        self._set_language()
        if not self._login():
            return

Usually it is not necessary with public youtube video and no age restriction.
My question is which YouTube video requires authentication? Could "youtube-dl" only login when in forced situation?
Login many times can move us into bad situation like: blocking or "security notice" requires sms verify.

I integrated youtube-dl to my system which makes ~ 100.000 requests per day, so login 100.000 times is impossible.

youtube-dl is awesome project, thanks your team!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 11, 2017

Use --cookies instead of providing credentials.

@dstftw dstftw closed this Feb 11, 2017
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.