puemos / hls-downloader

Web Extension for sniffing and downloading HTTP Live streams (HLS)
https://puemos.gitbook.io/hls-downloader/
MIT License
1.9k stars 234 forks source link

Set file name while downloading #63

Open djedi opened 4 years ago

djedi commented 4 years ago

Is your feature request related to a problem? Please describe. I like the update to use the page title for the download file name, but not all pages uses good titles. If I download multiple files and they all have the same page title, it can take some work to figure out which video is what.

Describe the solution you'd like It would be great if I could edit the file name while it is being downloaded. Then once it completes it could just use that name. I'd also like to be able to set the file extension because I prefer to save them as .ts files and then run them through ffmpeg to fix them.

Describe alternatives you've considered Download one file at a time so I'm not confused as to what is being downloaded.

Additional context I would image on the download tab it would still default to the page title. But you could click on the title or edit link, change the file name, then hit enter or save. Once it completes downloading it prompts or just saves as that name.

puemos commented 4 years ago

It sounds like a great solution! feel free to open a pull request 😎

djedi commented 4 years ago

Working on it. I have zero experience with react/redux so I'm slowly trying to figure things out.

puemos commented 4 years ago

Amazing! thanks a lot

puemos commented 4 years ago

could be useful, https://developer.chrome.com/extensions/examples/api/downloads/download_filename_controller/bg.js

T35R6braPwgDJKq commented 3 years ago

is this still active? the function would be really appreciated