anyaudio / anyaudio-server

:musical_note: Simple server to search youtube and give direct audio download and stream links
91 stars 19 forks source link

Set proper filename in Content-Disposition on download #25

Closed aviaryan closed 8 years ago

aviaryan commented 8 years ago

https://github.com/aviaryan/youtube-mp3-server/issues/17#issuecomment-238516783

After a way to get video info from its ID has been implemented and used in /download endpoint, we should also give the file a proper name so that it downloads into user's system with a filename more helpful than music.mp3.