imports links from mails into devonthink as html files

Hi

I have found a working script that imports links from mails into devonthink as webarchives:

https://github.com/dhess/applescripts/raw/master/Applications/Mail/Import%20link(s)%20to%20DEVONthink.scptd/Contents/Resources/Scripts/main.scpt

Does anybody know how to adjust this script in that way that it will import the links as html files?

Any hint is highly appreciated.

Thanks

zimba

Bad link. Repost it, please. Use one of the PHBBB URL, Code or Quote tags.

If I click on the above link the script will be downloaded.

However below now the link of the parent page with around it:
https://github.com/dhess/applescripts/tree/master/Applications/Mail/Import%20link(s)%20to%20DEVONthink.scptd/Contents/Resources/Scripts

I hope this helps