-1

I have multiple(50-60) blog URL from a website that I want to save as single or multiple PDFs. How can I do that

1
  • You want to save the web page contents and concatenate all of it into a PDF? Split those tasks into a web page downloader, a script which invokes it, and a PDF joiner or combiner.
    – einpoklum
    Aug 9 '20 at 19:08
0

You can do this easily with wkhtmltopdf command line binary.

https://wkhtmltopdf.org/

something like

wkhtmltopdf url1 url2 url3 output.pdf

will result in a single PDF containing all the content from the URL's you pass in.

2
  • I've downloaded the zip file of set-up from the website but unable to move forward. Can you explain how to execute? Where to run this code you provided
    – Rakshit
    Aug 15 '20 at 14:13
  • I assume you are on Linux? Either way there should be a binary called wkhtmltopdf, that you just call the above command from the command line of your terminal. no code, just command line. If that doesn't help post more info on what the error is (screen shots help a lot)
    – Ryan
    Aug 17 '20 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.