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

How to get the download url of a video instead of playback url? #17548

Closed
MyNB opened this issue Sep 11, 2018 · 3 comments
Closed

How to get the download url of a video instead of playback url? #17548

MyNB opened this issue Sep 11, 2018 · 3 comments

Comments

@MyNB
Copy link

@MyNB MyNB commented Sep 11, 2018

The url youtube-dl returns is a playback url, and when i paste it on a browser it starts to play the video instead of directly downloading it. what parameters to set to overcome that situation?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 12, 2018

There is no such thing as playback URL. There is just an URL and how it's going to be treated is up to the browser.

@dstftw dstftw closed this Sep 12, 2018
@MyNB
Copy link
Author

@MyNB MyNB commented Sep 12, 2018

In desktop the given URL is always played on browser but in mobile the URL is prompted to save as. How can I force the desktop browser to save the video instead of playing in a tab? also other downloaders like https://en.savefrom.net/1-how-to-download-youtube-video/ gives a url that does not play in a new tab in chrome, the url directly downloads in browser. What is the difference?

@limitedAtonement
Copy link

@limitedAtonement limitedAtonement commented Nov 3, 2018

Press "CTRL+s"?

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.