Thanks, ContentHandlers do look like the way to go and I hadn't researched them
yet.
Unfortunately I can't see any handlers that allow saving without prompting for
a path, which is my goal.
I'm trying to automate Conkeror with mozrepl to go to a website, dump the
source, parse all links to PDFs, and then download them (through Conkeror too).
But Conkeror always prompts me for an action and a default path, stopping me in
my tracks.
— Andre
On Sunday, July 10, 2011 at 7:22 AM, Silvio Levy wrote:
>
> > I'm trying to get Conkeror to auto download files with no user
> > intervention, but I'm having no success.
>
> I'm sure you'll get more authoritative answers, but my understanding
> is that you need to specify what classes of files should be downloaded
> without intervention. After all you wouldn't want every 1G video to be
> downloaded automatically!
>
> So try, for instance
>
> content_handlers.set("application/pdf", content_handler_save);
>
> For details see http://conkeror.org/ContentHandlers
>
> Silvio
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror