From e37fd9c2219f296b24b5a4592e16dc11ad7cfa7e Mon Sep 17 00:00:00 2001 From: greg Date: Thu, 15 Jun 2023 18:10:06 +0200 Subject: [PATCH] ajout script python to update terminal-cv pdf --- web-to-pdf.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 web-to-pdf.py diff --git a/web-to-pdf.py b/web-to-pdf.py new file mode 100644 index 0000000..32a49db --- /dev/null +++ b/web-to-pdf.py @@ -0,0 +1,7 @@ +import weasyprint, time + +time.sleep(30) +try: + weasyprint.HTML('https://cv.gregandev.fr').write_pdf('out.pdf') +except: + continue \ No newline at end of file