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

Use HTTPS To Bypass Censorship #739

Closed
osamak opened this issue Mar 10, 2013 · 4 comments
Closed

Use HTTPS To Bypass Censorship #739

osamak opened this issue Mar 10, 2013 · 4 comments

Comments

@osamak
Copy link
Contributor

@osamak osamak commented Mar 10, 2013

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.

@riveravaldez
Copy link

@riveravaldez riveravaldez commented Mar 10, 2013

This seems interesting.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented May 19, 2013

This should have been done in 84e4682. Can you confirm that it's working?

@Nikoli
Copy link
Contributor

@Nikoli Nikoli commented Jan 25, 2014

What about using https for other sites too when possible?

@SteamedFish
Copy link

@SteamedFish SteamedFish commented Feb 27, 2014

Use https sometimes work, sometimes not.
trying with -g option, youtube-dl -g 'https://www.youtube.com/watch?v=xOYMHSwzObs' for example, I noticed that sometimes it returns a http url, sometimes it returns a https url.
I can only download the video through https

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