Replies: 2 comments
-
手动验证后无法运行,输出信息如下:$ python test.py
Webdriver launching...
DevTools listening on ws://127.0.0.1:1685/devtools/browser/60cf866d-3017-4119-ae2b-e1222c63d227
Webdriver launched.
Waiting for QRCode Scan...0/15turns
Waiting for QRCode Scan...1/15turns
Waiting for QRCode Scan...2/15turns
Login Succeed.
Traceback (most recent call last):
File "d:\22753\duwenba\py\weread-scan\test.py", line 24, in <module>
weread.scan2html('https://weread.qq.com/web/reader/452325f071ffa331452f4a8kc81322c012c81e728d9d180')
File "D:\python3_10\lib\site-packages\WeReadScan\WeRead.py", line 189, in scan2html
html = self.get_html(book_url)
File "D:\python3_10\lib\site-packages\WeReadScan\WeRead.py", line 141, in get_html
'Page.addScriptToEvaluateOnNewDocument', {'source': self.load_js('construct_root_and_observer')})
File "D:\python3_10\lib\site-packages\WeReadScan\WeRead.py", line 60, in load_js
with open(f'{self.path}\\js\\{name}.js','r',encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\python3_10\\Lib\\site-packages\\WeReadScan\\js\\construct_root_and_observer.js' |
Beta Was this translation helpful? Give feedback.
0 replies
-
我自己真的没有遇到过需要双重验证的时候😅 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
扫码后显示需要双重验证,需要在网页端输入验证码
Beta Was this translation helpful? Give feedback.
All reactions