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.
@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)