extended readme

This commit is contained in:
Paul 2023-04-07 18:47:21 +02:00
parent 7cd7e18ff4
commit 5815c0c044
2 changed files with 7 additions and 1 deletions

View File

@ -2,10 +2,16 @@
Python module to convert texts on http://www.mlwerke.de into pdfs 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 # Usage
## create MLWerke Object: ## create MLWerke Object:
mlwerk = mlwerke2pdf.MLWerk(URL) mlwerk = mlwerke2pdf.MLWerk(URL)
use the base of a text like http://www.mlwerke.de/me/me04/me04_459.htm as URL use the base of a text like http://www.mlwerke.de/me/me04/me04_459.htm as URL
## generate a pdf ## generate a pdf

View File

@ -49,4 +49,4 @@ class MLWerk:
print("concatting subsites") print("concatting subsites")
self.concatsubsites self.concatsubsites
print("generating pdf") print("generating pdf")
self.genpdf(pdf) self.genpdf(path)