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

Get http url youtube #5927

Closed
sysmer opened this issue Jun 8, 2015 · 3 comments
Closed

Get http url youtube #5927

sysmer opened this issue Jun 8, 2015 · 3 comments

Comments

@sysmer
Copy link

@sysmer sysmer commented Jun 8, 2015

HI!
'youtube-dl -g bla bla bla' return https url, how to get http url?
If I change https to http, video can not be downloaded.

Help me!

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 8, 2015

Seems youtube is moving to HTTPS almost everywhere. For example, browsing http://www.youtube.com/ leads to https://www.youtube.com/. I'm not sure whether there's a method to disable such a redirection. If not, it's impossible to extract an HTTP url.

Can you describe your scenario in more details? I think in most cases HTTPS is not worse than HTTP.

@sysmer
Copy link
Author

@sysmer sysmer commented Jun 8, 2015

yan12125, http url possible, for example http://ru.savefrom.net/ return http url.
I want to use youtube-dl to xupnpd media server, xupnpd not work with https.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 8, 2015

http urls can only be obtained with the www.youtube.com/get_video_info?... pages, but since their webplayer doesn't use them we don't use them (except for some videos). I'm closing the issue as a duplicate of #4510.

I want to use youtube-dl to xupnpd media server, xupnpd not work with https.

The correct solutions would be to make xupnpd work with https urls, YouTube may drop http support at any time and it's widely used nowadays.

@jaimeMF jaimeMF closed this Jun 8, 2015
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.