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.
Add a "--force-https" option. #9193
Comments
|
Please enable this so it works on sites other than youtube. |
|
Wait, is |
|
It does not force but filters out. And only final format URLs. |
But why be confined with this? Take web browser for example, Firefox just showing what sites provide no more no less, but if you want you can change it with options or addons.
But in Firefox you can force all video/audio files to be HTTPS if site is open in https, there is option in about:config for that, why can't it be done in youtube-dl? |
|
I've already answered you by mail why it's a bad idea. |
|
Now YouTube replies 301 for non-HTTPS connections:
I guess this option is no longer necessary. @vxbinaca do you have other examples? |
|
Apart from the thing that you can't enforce https if the server doesn't play along.. |
Idea came from Noscript addon for Firefox.
So, when you have
http://www.youtube.com/watch?v=qn6CMz18lkQlink, and you know its supports https and instead of adding "s" to links every time, you could just add site to config option--force-https=www.youtube.comand it will always force links from youtube to https for this site and others you add.