Created
February 13, 2018 19:25
-
-
Save cgopalan/3dd23eaddb7a54f2d16671eb8347b83e to your computer and use it in GitHub Desktop.
Convert list of html files to one pdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pdfkit | |
# Fill this list with the html pages you want to be converted | |
file_list = [] | |
# Disable links since some point to local hard drive and dont work | |
pdfkit.from_file(file_list, "generatedpdf.pdf", options={"disable-external-links": None, "load-error-handling": "ignore"}) |
Hello, sorry just saw this. You could probably get it from the PR I created to add the file (which is closed), but it is probably outdated. Here it is if you want it: https://github.com/mmcgrana/gobyexample/pull/196/files
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello cgopalan, could you be having a link to the downloadable offline pdf version?