Does Flashgot Expose a user-API?

General discussion about the FlashGot extension for Firefox
Post Reply
pakx
Posts: 2
Joined: Wed Mar 01, 2017 7:54 pm

Does Flashgot Expose a user-API?

Post by pakx » Wed Mar 01, 2017 8:03 pm

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?

pakx
Posts: 2
Joined: Wed Mar 01, 2017 7:54 pm

Re: Does Flashgot Expose a user-API?

Post by pakx » Tue Mar 21, 2017 1:30 pm

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.

Post Reply