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

why ge-url filename is videoplayback but video_title? And how to specify a filename use download url? Please #20605

Closed
guanzhiyou opened this issue Apr 8, 2019 · 0 comments
Labels

Comments

@guanzhiyou
Copy link

@guanzhiyou guanzhiyou commented Apr 8, 2019

@yan12125
After some testing using this tool and online tools.
The other tools adds query to the url &title=video_title
Then the response headers contains
content-disposition: attachment; filename="video_title.mp4"
Then the browser start download the file with the name video_title.mp4

But even If I added title query to links got by youtube-dl , server doesn't respond with content-disposition header
I noticed the links got by youtube-dl has two extra Query in url &gir=yes&clen=xxxxxx
When I removed these two queries, link didn't work because the it has a signature

Originally posted by @abou7mied in #13325 (comment)

@yan12125 yan12125 closed this Apr 8, 2019
@yan12125 yan12125 added the duplicate label Apr 8, 2019
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
2 participants
You can’t perform that action at this time.