View Single Post
Old 01-04-2021, 05:57 PM   #1
Shohreh
Addict
Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 304158
Join Date: Jan 2016
Location: France
Device: none
Question [SOLVED] Download list of web pages → convert to PDF → merge?

Hello,

I occasionally have to download a bunch of web pages, turn them into PDF, and merge them all into a single PDF file.

Do you know of a way to automate that?

1. From list, download web pages including pictures: wget ?

2. Convert each into PDF: cpdf/mutool/qpdf?

3. Merge all into single PDF:
Code:
@echo off
setlocal enabledelayedexpansion
set f=
for %%f in (*.pdf) do set f=!f! "%%f"
echo %f%
mutool merge -o full.pdf -O compress %f%
Thank you.

Last edited by Shohreh; 01-09-2021 at 10:12 PM.
Shohreh is offline   Reply With Quote