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