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.
Use HTTPS To Bypass Censorship #739
Comments
|
This seems interesting. |
|
This should have been done in 84e4682. Can you confirm that it's working? |
|
What about using https for other sites too when possible? |
|
Use https sometimes work, sometimes not. |
youtube-dl should use HTTPS by default to allow users behind national firewalls to bypass censorship. It took me a while to investigate what seemed to be a youtube-dl bug before I discovered that the video was actually blocked.
Python does not include popular certificate by default and it accepts any certificate provided by the server, but that's alright since the point is not really to make the connection secure, but to bypass old-fashioned, URL-based censorship.
I can provide a commit to implement that.