-
Notifications
You must be signed in to change notification settings - Fork 212
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
这是什么情况 #86
Comments
安装chrome,然后把chrome添加到环境变量。前面的issue有提到具体的解决办法,可以找一下 |
添加完控制变量后,可以运行了。想再请教下怎么登录。因为没有登录,在试读截至的地方,无限重复 |
尝试一下readme 里面的 --force-login true |
$ python -m weread_exporter -b 08232ac0720befa90825d88 -o epub
[2024-06-10 11:02:14,585][INFO]Exporting book 08232ac0720befa90825d88
[2024-06-10 11:02:14,868][INFO][WeReadWebPage] Launch url https://weread.qq.com/web/bookDetail/08232ac0720befa90825d88
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\kttdd\Desktop\weread-exporter-main\weread_exporter_main.py", line 158, in
main()
File "C:\Users\kttdd\Desktop\weread-exporter-main\weread_exporter_main.py", line 154, in main
loop.run_until_complete(async_main())
File "C:\Python\Lib\asyncio\base_events.py", line 664, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\kttdd\Desktop\weread-exporter-main\weread_exporter_main_.py", line 85, in async_main
await page.launch(headless=args.headless, force_login=args.force_login)
File "C:\Users\kttdd\Desktop\weread-exporter-main\weread_exporter\webpage.py", line 174, in launch
chrome = self._check_chrome()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kttdd\Desktop\weread-exporter-main\weread_exporter\webpage.py", line 167, in _check_chrome
raise utils.ChromeNotInstalledError(
weread_exporter.utils.ChromeNotInstalledError: Please make sure
chrome
is installed, and the install path is added to PATH environment.You can test that with
where chrome
command.Fontconfig error: Cannot load default config file: No such file: (null)
The text was updated successfully, but these errors were encountered: