Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Defaulting to HTTPS on YouTube #5837
Comments
|
youtube-dl supports not only YouTube, some of which are only accessible by http. |
|
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. |
|
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. |
This is a minor issue, but when you supply a YouTube link without an
http://orhttps://prefix, the first output line is: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.