home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] looking for perl(?) script to convert list of URLs to PDF files

On Wed, Sep 26, 2012 at 03:43:26PM -0400, Robert P. J. Day wrote:
>   i have a text file containing over 100 URLs (one per line), and i
> want to produce that many PDF files of those URL pages, with output
> filenames simply 1.pdf, 2.pdf and so on -- that numbering is
> required.

	$ perl -MLWP::Simple=mirror -ne'next if /^SKIP/; \
	    mirror( $_ => $..".pdf" ); print "saving $..pdf\n"' < list

	?

Joy,
`/anick
--