Page 1 of 1
I want my download manager to work with flashgot
Posted: Wed Sep 29, 2010 11:59 am
by SoleSoul
Hi flashgot community.
I am working on a GUI download accelerator/manager for Linux which uses aria2c as a backend. Its name is DownloadM. It is still in its early stages but it already works and want it to be useful.
Were can I find guidelines for making DownloadM compatible with flashgot?
Re: I want my download manager to work with flashgot
Posted: Wed Sep 29, 2010 12:30 pm
by Giorgio Maone
Just provide as many as the following command line options as possible:
- URL (rather obvious), and/or URL1 [URL2 [URL3...]] (space-separated URL list as the trailing arguments) and/or UFILE (path to a file containing multiple URLs, one per line)
- COOKIE
- POST (form-encoded post data)
- REFERER
- FOLDER (unless your GUI already offer a "Save as..." like dialog)
- FNAME (suggested file name, different than the one extrapolated from URL, useful for giving movie downloads a meaningful name based on HTML elements)
Re: I want my download manager to work with flashgot
Posted: Wed Sep 29, 2010 12:41 pm
by SoleSoul
Thank you for the quick answer.
I will work on it and be back when it's ready.
I have a question about the concept. I understand how this works when DownloadM is not running already.
If DownloadM is already running, how a request to add a download to the current instance will be sent? We don't want another instance of DownloadM, right?
Re: I want my download manager to work with flashgot
Posted: Wed Sep 29, 2010 10:06 pm
by Giorgio Maone
SoleSoul wrote:If DownloadM is already running, how a request to add a download to the current instance will be sent? We don't want another instance of DownloadM, right?
Most (almost all, actually) the supported download manager check whether an instance is currently running, and if it is they send the parameters to the running instance through IPC and quit.
An alternative to this would be exposing a web interface which FlashGot can send the parameter to via HTTP, like JDownloader does, but it's more complicated and requires FlashGot to launch the executable if it's not running yet. So, the first option is surely to be preferred.
Re: I want my download manager to work with flashgot
Posted: Thu Sep 30, 2010 4:41 pm
by SoleSoul
Thanks for the detailed explanation. I understand.
I'll work on it.