Page 1 of 1

Does Flashgot Expose a user-API?

Posted: Wed Mar 01, 2017 8:03 pm
by pakx
Hi, does Flashgot have an API callable from a browser-authorized script (e.g. a SeleniumIDE script), to download files?

My use case would be as follows:

0) assume Flashgot is installed
a) browse to a page
b) that triggers a GreaseMonkey/SeleniumIDE/etc script that identifies an image URL from the page
c) the script invokes a Flashgot API, passing in url and a name for the downloaded file
d) Flashgot handles downloading the image, however it does so

Any guidance, pls?

Re: Does Flashgot Expose a user-API?

Posted: Tue Mar 21, 2017 1:30 pm
by pakx
For the moment I've worked around this by writing a Chrome extension to use the default download manager -- certainly, chrome.downloads.download() is straightforward enough.

If Flashgot doesn't expose a user-API, but is opensourced, perhaps I can add one.