Page 1 of 1

[feature request] Add option for remote downloaders

Posted: Thu Apr 28, 2011 7:43 pm
by Faw
I was wondering if it was possible to add the option to add a download to a remote downloader.

For example:
  • Free Download Manager: you can set it as a server (just found out)
  • MLDonkey: you can add a download to it by calling the url "http://username:password@server:port/submit?q=dllink+url"
  • Aria2: It has a XML-RPC and JSON interface. You can add a download with a POST to "http://username:password@server:port/jsonrpc" with the JSON request as the data.
So what I was thinking is adding a REMOTE option (just like CUSTOM) with the following fields: host,user,password,path, method (GET/POST), query (query string for GET, post data for POST).
Once you have that info you can create the reque4st and send it to the downloader.

Example for MLDonkey
  • host: myserver:8080
  • user: admin
  • password: admin_password
  • path: /submit
  • method: GET
  • data: q=dllink+[URL]
URL: http://admin:admin_password@myserver:80 ... llink+[URL]

Example for Aria2C
  • host: myserver:8080
  • user: admin
  • password: admin_password
  • path: /jsonrpc
  • method: POST
  • data: {'jsonrpc':'2.0', 'id':'qwer', 'method':'aria2.addUri','params':[[ [URL] ]]}
URL: http://admin:admin_password@myserver:8080/jsonrpc
POST_DATA: {'jsonrpc':'2.0', 'id':'qwer', 'method':'aria2.addUri','params':[[ [URL] ]]}

Example for Free Download Manager
  • host: myserver:8080
  • user:
  • password:
  • path: /adddownload.req
  • method: GET
  • data:URL=[URL]
URL: http://myserver:8080/adddownload.req?URL=[URL]

Any comments?

Re: [feature request] Add option for remote downloaders

Posted: Wed Nov 02, 2011 10:23 pm
by Faw
So no comment about this? How about adding aria2 remote support?

Re: [feature request] Add option for remote downloaders

Posted: Fri Nov 04, 2011 7:50 pm
by GµårÐïåñ
You are not being ignored, I assure you. The problem is that Giorgio has his plate really full with things that are not place to discuss here. But if you give him some time to review it when he is not being pulled into so many different directions, I am sure he will comment or perhaps even implement. Please be patient and if you don't get a reply on this within the next two weeks, then let us know again with a bump and I will chase it down. ok?

Re: [feature request] Add option for remote downloaders

Posted: Thu Nov 24, 2011 12:53 pm
by lemarec56
Hello

In the same idea

Option for NAS (QNAP, ...)

Re: [feature request] Add option for remote downloaders

Posted: Mon Jan 09, 2012 7:13 pm
by Faw
So nothing yet?

Re: [feature request] Add option for remote downloaders

Posted: Mon Jan 09, 2012 8:41 pm
by Giorgio Maone
It's actually a very good idea.
I'm putting it in my TODO list, but I'm likely to implement it in a simpler way, e.g. by just letting user to specify an URL template which accepts the usual placeholders ([URL], [REFERER] and so on) but urlencodes them, rather than escaping them for the command line.

Re: [feature request] Add option for remote downloaders

Posted: Mon Feb 06, 2012 11:56 am
by sabret00the
I had a similar idea. But this too would be awesome. I hope it comes to fruition.

Re: [feature request] Add option for remote downloaders

Posted: Sun Mar 04, 2012 1:20 pm
by Faw
Giorgio Maone wrote:It's actually a very good idea.
I'm putting it in my TODO list, but I'm likely to implement it in a simpler way, e.g. by just letting user to specify an URL template which accepts the usual placeholders ([URL], [REFERER] and so on) but urlencodes them, rather than escaping them for the command line.
Well the reason I split it in sections (host,user,password pathm method,data) is because not all downloaders use GET (Aria2C uses POST), so maybe it could be just 2 fields: URL,POST_DATA (using placeholders on both), if POST_DATA is empty, just use GET.