scribd-downloader icon indicating copy to clipboard operation
scribd-downloader copied to clipboard

Py script error

Open millybilli opened this issue 1 year ago • 5 comments

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

millybilli avatar Mar 07 '23 19:03 millybilli

The same problem with me,please check

rogerfedererforever avatar Mar 12 '23 03:03 rogerfedererforever

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

same happen on me, chrome suddenly closed without notice

3xploiton3 avatar May 29 '23 09:05 3xploiton3

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

SIKtt avatar Aug 04 '23 14:08 SIKtt

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

DashaM7 avatar Dec 19 '23 15:12 DashaM7

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

SIKtt avatar Dec 24 '23 15:12 SIKtt