Save the web page with wkhtmltopdf. When the file name contains a character like"", it will report an error when it is run in the shell of win10.
for example, my code is:
pdfkit.from_url("https://www.google.com",".pdf")
the following error occurs when running in the shell of win10
OSError: wkhtmltopdf reported an error:
Loading pages (1/6)
QPainter::begin(): Returned false============================] 100%
Error: Unable to write to destination
Exit with code 1, due to unknown error.
but there is no problem in MacOS. Why?