python-pdfkit
python-pdfkit copied to clipboard
Wkhtmltopdf python wrapper to convert html to pdf
Hi, I'm not sure the best way to advertise this info going forward, but I had an issue my first time running `pdfkit.from_file`, getting the below error ``` OSError: wkhtmltopdf...
Hi, I am trying to convert a local html file (via flask) which has external css and it results in below error: ``` OSError: wkhtmltopdf reported an error: QStandardPaths: XDG_RUNTIME_DIR...
Will be really nice if you could add support for pathlib as you get an error if you use a pathlib.path as paths for the files.
It might be nice to have a list or dictionary with valid values for the 'page-size'. Such a dictionary could have measurements or a description of the page size measurements....
There seems to be a problem with `pdfkit.from_url(['google.com', 'yandex.ru', 'engadget.com'], 'out.pdf')` But this is given as en example in the readme, so I assume that is how it should work....
running a py file using pdfkit from command line, it print the line below and then hangs up. INFO: Could not find files for the given pattern(s) wkhtmltopdf.exe is running...
**OS information** Python 3.8 wkhtmltopdf 0.12.6 pdfkit 0.6.1 **Description** When i call `pdf_bytes = pdfkit.from_string(html, False)` `OSError('wkhtmltopdf reported an error:\nLoading pages (1/6)\n[> ] 0%\r[======> ] 10%\rWarning: Blocked access to file...
I have written below code ``` import pdfkit url='https://myangularsite.com/student-registration-webform' pdfkit.from_url(url, 'out.pdf', options = {'javascript-delay':'1000'}) ``` without this `javascript-delay':'1000` above code printing EMPTY Page. But that's unreliable. Because angular is asynchronous....
``` >>> a = "file" >>> b = "fi" >>> c = "le" >>> a == b+c True >>> a is b+c False ```
Hello, I am trying to convert a [specific web page](https://nvd.nist.gov/vuln/search/results?query=cpe%3A2.3%3Aa%3Alibarchive%3Alibarchive%3A*%3A*%3A*%3A*%3A*%3A*%3A*%3A*&results_type=overview&form_type=Advanced&startIndex=0) to a PDF, but the text is not rendering over the background graphics. Here is the webpage as seen in...