extended readme

This commit is contained in:
hmrhkr committed 2023-04-07 18:47:21 +02:00
1 parent 7cd7e18ff4
commit 5815c0c044
2 files changed
+7 -1

No files matched your search

+6
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
+1 -1
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)