Phone: +00-0000000
E-mail:

A pdf file created using python pdfkit has no click links?

The html file looks like

<div class="contact"> Phone: +00-0000000<br/> E-mail: <a href="mailto: zsameem@gmail.com " > zsameem@gmail.com </a> Github: <a href="https://www.github.com/zsameem">www.github.com/zsameem</a> </div> </div> 

The code for gennerating pdf is simple:

 import pdfkit pdfkit.from_file('mypage.html', 'mypdf.pdf;') 
+5
source share
1 answer

Did you install wkhtmltopdf as described in the installation instructions? https://pypi.python.org/pypi/pdfkit

This seems to be the point that is often skipped when using pdfkit.

0
source

All Articles