I would like to save each URL as a single-page PDF and a webarchive.
Originally I was looking for a generic command-line way to do this, but I cannot find a way to create a single-page PDF from an URL on the command-line. However, I know that EagleFiler can do this.
I have seen
but that seems to presume that I already have the web archives, and in this case I don’t.
So what’s the best/easiest/simplest way to automate this process? Ideally I’d like to point EagleFiler at this plain-text list of URLs (one-per-line) and have everything just sort of magically happen, but I’m brand new to EF so I’m not really sure what is possible.
(If anyone knows a non-EF way to do this, I’d love to hear that too.)
Yes, there is the Web page format parameter. If you don’t specify it, you get what’s set in the preferences. To do this from the command line, you could write a script like:
on run _argv
tell application "EagleFiler"
set _url to item 1 of _argv
import URLs {_url} Web page format PDF single page format
import URLs {_url} Web page format Web archive format
end tell
end run