Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Py script error #8

Open
millybilli opened this issue Mar 7, 2023 · 5 comments
Open

Py script error #8

millybilli opened this issue Mar 7, 2023 · 5 comments

Comments

@millybilli
Copy link

Hi,

well-done for providing this script, it has proved truly useful...till now

i am now having issues with it, could you help?
Pyerror

@rogerfedererforever
Copy link

The same problem with me,please check

@3xploiton3
Copy link

https://i.imgur.com/0OkrEBL.png

same happen on me, chrome suddenly closed without notice

@SIKtt
Copy link

SIKtt commented Aug 4, 2023

Seems some book don't have a <style> id = fontfaces </style>

@DashaM7
Copy link

DashaM7 commented Dec 19, 2023

How did you manage to solve the problem?
What needs to be fixed in the code?

@SIKtt
Copy link

SIKtt commented Dec 24, 2023

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 = ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants