Comments (2)
手动验证后无法运行,输出信息如下:
$ 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'
from wereadscan.
扫码后显示需要双重验证,需要在网页端输入验证码
我自己真的没有遇到过需要双重验证的时候😅
from wereadscan.
Related Issues (20)
- 部分章节下载失败
- 没有目录吗? HOT 1
- 章节下载失败 HOT 2
- 是否是腾讯的反爬虫? HOT 1
- CSS 选择器使用了新版 Selenium 弃用的方法 HOT 1
- 无法翻页问题 HOT 1
- 微信图书 HTML 导出脚本
- 爬了一半报错了,可以有人帮我看看咋回事吗?
- 截图报错:Cannot take screenshot with 0 width. HOT 2
- 直接退出来,不知道怎么回事?运行的是demo.py
- 能生成目录吗(书签)
- DeprecationWarning: use options instead of chrome_options HOT 1
- AttributeError: 'WeRead' object has no attribute 'scan2pdf' HOT 1
- 登陆后无法运行 HOT 2
- 大佬!不会玩代码~
- 大家现在还能爬出东西吗? HOT 2
- 请教一下,这个登录以后下载的时候直接崩溃报错是什么原因呢,是不是已经不好使了呀 HOT 1
- 截图不全的情况处理
- 微信读书转成pdf时能顺便把书里面别人的想法也摘取出来吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wereadscan.