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

命令中的网址不需要加单引号(Win11,release v1.1.0) #25

Open
choglost opened this issue Mar 25, 2023 · 0 comments
Open

命令中的网址不需要加单引号(Win11,release v1.1.0) #25

choglost opened this issue Mar 25, 2023 · 0 comments

Comments

@choglost
Copy link

我实际使用结果如下。
作者大大可以考虑更改一下readme,我看到之前也有issue反应这个问题。

E:\tools>docdown 'https://max.book118.com/html/2017/1221/145235973.shtm'
Traceback (most recent call last):
  File "run.py", line 6, in <module>
  File "tool.py", line 121, in download_from_url
  File "playwright\sync_api\_generated.py", line 7413, in goto
  File "playwright\_impl\_sync_base.py", line 88, in _sync
  File "playwright\_impl\_page.py", line 493, in goto
  File "playwright\_impl\_frame.py", line 122, in goto
  File "playwright\_impl\_connection.py", line 39, in send
  File "playwright\_impl\_connection.py", line 63, in inner_send
playwright._impl._api_types.Error: Protocol error (Playwright.navigate): Cannot navigate to invalid URL [{"code":-32000,"message":"Cannot navigate to invalid URL"}]
=========================== logs ===========================
navigating to "'https://max.book118.com/html/2017/1221/145235973.shtm'", waiting until "load"
============================================================
[12224] Failed to execute script 'run' due to unhandled exception!

E:\tools>docdown https://max.book118.com/html/2017/1221/145235973.shtm
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
Image contains an alpha channel. Computing a separate soft mask (/SMask) image to store transparency in PDF.
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

1 participant