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

Defaulting to HTTPS on YouTube #5837

Closed
mmcco opened this issue May 28, 2015 · 3 comments
Closed

Defaulting to HTTPS on YouTube #5837

mmcco opened this issue May 28, 2015 · 3 comments

Comments

@mmcco
Copy link

@mmcco mmcco commented May 28, 2015

This is a minor issue, but when you supply a YouTube link without an http:// or https:// prefix, the first output line is:

WARNING: The url doesn't specify the protocol, trying with http

Because HTTPS is default and expected on YouTube these days, it would be nice if youtube-dl defaulted to it.

It seems that a condition or a call to a helper function here is all we would need.

Thanks for your time.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 28, 2015

youtube-dl supports not only YouTube, some of which are only accessible by http.

@dstftw dstftw closed this May 28, 2015
@mmcco
Copy link
Author

@mmcco mmcco commented May 28, 2015

I'm aware of that. It would be extremely simple to check the URL against a list of domains known to support HTTPS, though. That's what I was suggesting.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 28, 2015

Note that in the case of YouTube videos the extractor matches http:// urls and it will do all the requests with htttps://, so it won't use any insecure connection.

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