jeckman / YouTube-Downloader

PHP script for downloading videos from youtube; also parsing youtube feed into RSS enclosures for podcatchers
GNU General Public License v2.0
895 stars 474 forks source link

My youtube downloader is downloading directly without showing the other formats #266

Closed wukest closed 7 years ago

wukest commented 7 years ago

So, hello,

I don't know why but my youtube downloader script is downloading directly without showing the formats, I just press Download and starts the mp4 download automatically. I just changed the index page before this happens. Can some1 tell me what's causing that?

screenshot_1

Art4 commented 7 years ago

You have to add a parameter type with the value Download in your formular. This can be achieved with a hidden input like:

<input type="hidden" name="type" value="Download">

Otherwise the request will be handled as a redirect to the video with the best format, see https://github.com/jeckman/YouTube-Downloader/blob/0.5.1/src/Application/ResultController.php#L87

wukest commented 7 years ago

Is there a way to only show the 3gpp format instead of show the mp4 , webm and 3gpp?