Szpadel / chrome-headless-render-pdf

223 stars 67 forks source link

generating multi-page pdf not working #39

Closed ghost closed 6 years ago

ghost commented 6 years ago

generating pdf from multiple URLs, with same --pdf file_name.pdf output target will just create one (from last used URL)

Szpadel commented 6 years ago

this is working like that by design, each url-pdf pair is doing independent generation. when you specify multiple pairs to the same file, this file will be overwritten.

ghost commented 6 years ago

Render multiple pdf files

chrome-headless-render-pdf --url http://google.com --pdf test.pdf --url file:///tmp/example.html --pdf test.pdf

oh, well this thing from the readme is quite misleading

Szpadel commented 6 years ago

I will fix that documentation issue