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

循环报错 [WARNING]Load chapter failed, close browser and retry #98

Open
ypz-git opened this issue Aug 30, 2024 · 2 comments
Open

循环报错 [WARNING]Load chapter failed, close browser and retry #98

ypz-git opened this issue Aug 30, 2024 · 2 comments

Comments

@ypz-git
Copy link

ypz-git commented Aug 30, 2024

命令行和报错信息:
(weread) C:\Users*****\code\weread-exporter>python -m weread_exporter -b 6f932ec05dd9eb6f96f14b9 -o epub -o pdf --force-login --load-timeout=60
Fontconfig error: Cannot load default config file: No such file: (null)
[2024-08-30 10:51:29,058][INFO]Exporting book 6f932ec05dd9eb6f96f14b9
[2024-08-30 10:51:29,376][INFO][WeReadWebPage] Launch url https://weread.qq.com/web/bookDetail/6f932ec05dd9eb6f96f14b9
[2024-08-30 10:51:29,933][INFO]Browser listening on: ws://127.0.0.1:59940/devtools/browser/780cce5b-8795-4297-842d-165a97623684
[2024-08-30 10:51:31,426][INFO][WeReadWebPage] Current login user is ***
[2024-08-30 10:51:31,427][INFO][WeReadWebPage] Inject cookie wr_name=%E6%9D%A8%E9%98%BF%E6%9F%B4
[2024-08-30 10:51:31,432][INFO][WeReadWebPage] Inject cookie wr_localvid=6d332bd0611220a6d380fbe
[2024-08-30 10:51:31,437][INFO][WeReadWebPage] Inject cookie wr_rt=web%40rqRSGTtI8~Jcc3MUG5n_AL
[2024-08-30 10:51:31,440][INFO][WeReadWebPage] Inject cookie wr_gender=2
[2024-08-30 10:51:31,442][INFO][WeReadWebPage] Inject cookie wr_pf=0
[2024-08-30 10:51:31,446][INFO][WeReadWebPage] Inject cookie wr_avatar=https%3A%2F%2Fthirdwx.qlogo.cn%2Fmmopen%2Fvi_32%2FQ0j4TwGTfTJ2icQzMrqxHxYia453yaR3v97MMCcShiaUZAFkaeLKucibtBy3NoDenH1lnxiasJAbSqsEZo6TwnwItyQ%2F132
[2024-08-30 10:51:31,449][INFO][WeReadWebPage] Inject cookie wr_skey=ud5h4tpg
[2024-08-30 10:51:31,453][INFO][WeReadWebPage] Inject cookie wr_vid=1122826
[2024-08-30 10:51:31,455][INFO][WeReadWebPage] Inject cookie wr_fp=2052470708
[2024-08-30 10:51:31,456][INFO][WeReadWebPage] Inject cookie wr_gid=272223471
[2024-08-30 10:51:32,718][INFO][WeReadExporter] Check chapter 56/版权信息
[2024-08-30 10:51:32,719][INFO][WeReadExporter] File cache\6f932ec05dd9eb6f96f14b9\chapters\1-56.md not exist
[2024-08-30 10:51:32,719][INFO][WeReadWebPage] Go to chapter 56
[2024-08-30 10:51:32,726][INFO][WeReadWebPage] Fetch url https://weread.qq.com/web/reader/6f932ec05dd9eb6f96f14b9k9f6326602389f61408e3715
[2024-08-30 10:51:33,836][INFO][WeReadWebPage] Fetch url https://midas.gtimg.cn/midas/minipay_v2/jsapi/cashier.js
[2024-08-30 10:51:33,837][INFO][WeReadWebPage] Fetch url https://cdn.weread.qq.com/web/wpa.js
[2024-08-30 10:51:33,838][INFO][WeReadWebPage] Fetch url https://weread-1258476243.file.myqcloud.com/web/wrwebnjlogic/css/app.659f8db0.css
[2024-08-30 10:51:33,839][INFO][WeReadWebPage] Fetch url https://weread-1258476243.file.myqcloud.com/web/wrwebnjlogic/js/app.0908ecac.js
[2024-08-30 10:52:32,739][WARNING]Load chapter failed, close browser and retry
[2024-08-30 10:52:32,740][INFO]terminate chrome process...

看issues的解决方法是添加参数--load-timeout并设置更大的数值,但在我这没有效果

@TimeIntegral
Copy link

试了一下,你调整一下阅读章节位置就可以了。

@ypz-git
Copy link
Author

ypz-git commented Sep 10, 2024

试了一下,你调整一下阅读章节位置就可以了。

如何调整呢?

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

2 participants