From 5815c0c0444f8fcb6c5d6bc40506ca3936612641 Mon Sep 17 00:00:00 2001 From: humorhenker Date: Fri, 7 Apr 2023 18:47:21 +0200 Subject: [PATCH] extended readme --- README.md | 6 ++++++ mlwerke2pdf.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e1f273..2b001c4 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,16 @@ Python module to convert texts on http://www.mlwerke.de into pdfs +it this point links in the pdf are not functional as they point to the mlwerke html structure + +# dependencies +as pdfkit uses wkhtmltopdf you will need it + # Usage ## create MLWerke Object: mlwerk = mlwerke2pdf.MLWerk(URL) + use the base of a text like http://www.mlwerke.de/me/me04/me04_459.htm as URL ## generate a pdf diff --git a/mlwerke2pdf.py b/mlwerke2pdf.py index aae7164..80b0dcd 100644 --- a/mlwerke2pdf.py +++ b/mlwerke2pdf.py @@ -49,4 +49,4 @@ class MLWerk: print("concatting subsites") self.concatsubsites print("generating pdf") - self.genpdf(pdf) \ No newline at end of file + self.genpdf(path) \ No newline at end of file