add python web 2 pdf script

This commit is contained in:
greg 2023-06-15 17:21:24 +02:00
parent 34bbc29eb1
commit 78be8dcba2

4
web-to-pdf.py Normal file
View File

@ -0,0 +1,4 @@
import weasyprint
sleep(300)
weasyprint.HTML('https://cv.gregandev.fr').write_pdf('out.pdf')