A script to use single file?

Hi,
there is an addon in firefox named as singlefile

that saves an entire web page—including images and styling—as a single HTML file. I want to save the web page this way and then import it to devonthink. i do not like the quality of devonthink add on for archiving web pages. how can i automate this? Any script possible for this case?

There are lots of ways to automate that

The easiest would be to save the HTML files to a designated directory.

Then index that directory in DT

Then set up a smart rule to import the items to the database and move them wherever you wish.

I have SingleFile setup to prompt me for a download location, and I just select the DEVONthink Inbox that’s setup in Finder… and from there it auto imports into the Inbox and organize it from there.