Does Flashgot Expose a user-API?

General discussion about the FlashGot extension for Firefox

Does Flashgot Expose a user-API?

Postby 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?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
pakx
 
Posts: 2
Joined: Wed Mar 01, 2017 7:54 pm

Re: Does Flashgot Expose a user-API?

Postby 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
pakx
 
Posts: 2
Joined: Wed Mar 01, 2017 7:54 pm


Return to FlashGot General

Who is online

Users browsing this forum: No registered users and 3 guests