![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78
Karma: 85308
Join Date: Jan 2016
Device: none
|
![]()
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% Last edited by Shohreh; 01-09-2021 at 11:12 PM. |
![]() |
![]() |
![]() |
#3 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,836
Karma: 22175222
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
|
Or just having the epub!
|
![]() |
![]() |
![]() |
#4 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 338
Karma: 2264885
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra H2O, Kobo Glo HD, Kobo Mini, Kobo Aura (2013), Kindle PW3
|
Quote:
Code:
x.y/a.pdf x.y/b.pdf Code:
wget --input-file=wget-list |
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78
Karma: 85308
Join Date: Jan 2016
Device: none
|
Thanks for the infos. I forgot to say I'd rather a desktop solution than web-based.
After feeding wget a list of URLs, HTML pages can then be turned into individual PDFs with wkhtmltopdf, and merged into a single PDF with cpdf/qpdf/mutool. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tool to OCR an "image" PDF → add text as extra layer? | Shohreh | 5 | 12-19-2020 01:47 PM | |
[PDF → ePUB] Alternative to Calibre? | Shohreh | Conversion | 19 | 05-08-2020 05:06 PM |
epub → pdf conversion: remove a section | dma_k | Conversion | 8 | 08-31-2016 06:40 PM |
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) | SJC-Caron | ePub | 18 | 04-21-2016 12:10 PM |