-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
youdao_get.py yd_get.py都没有任何问题, dist/youdao_get则报错,不清楚为什么,反馈一下
系统ubuntu 21.10
下面的 a/b 是带有/的内容,用youdao_get.py yd_get.py都没有任何问题
$ dist/youdao_get 'a/b'
Traceback (most recent call last):
File "youdao_get.py", line 39, in <module>
word = word.replace("/", "/") # url 方式要过滤掉 / 换成全角
File "urllib/request.py", line 163, in urlopen
File "urllib/request.py", line 472, in open
File "urllib/request.py", line 582, in http_response
File "urllib/request.py", line 510, in error
File "urllib/request.py", line 444, in _call_chain
File "urllib/request.py", line 590, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found
[20681] Failed to execute script youdao_get
Metadata
Metadata
Assignees
Labels
No labels