Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50094

[pandoc] How to locate HTML file from wget?

$
0
0
Hello,

I like to read long web pages on my e-reader.

I use the following commands to create an ePUB file:

Code:

wget -E -H -k -K -p -e robots=off https://www.acme.com/blah.html

OPTIONAL iconv -f iso-8859-1 -t utf-8 blah.html> blah.UTF8.html

pandoc -t epub2 -o blah.epub blah.UTF8.html

The problem is finding where wget downloads the main HTML file and how it's named, lost somewhere in all those directories that contain the different files needed for offline reading. The goal is to automate the process through a batch file.

Do you know of a solution?

Thank you.

Viewing all articles
Browse latest Browse all 50094

Latest Images

Trending Articles



Latest Images