Open millybilli opened 1 year ago
The same problem with me,please check
https://i.imgur.com/0OkrEBL.png
same happen on me, chrome suddenly closed without notice
Seems some book don't have a <style> id = fontfaces </style>
How did you manage to solve the problem? What needs to be fixed in the code?
How did you manage to solve the problem? What needs to be fixed in the code? change line 58 into below may help:
# retrieve fonts font_style = page.locator('#fontfaces').inner_html()
# retrieve fonts
try:
font_style = page.locator('#fontfaces').inner_html()
except:
font_style = ""
Hi,
well-done for providing this script, it has proved truly useful...till now
i am now having issues with it, could you help?