微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Wget 403禁止使用,但可在所有浏览器中使用

如何解决Wget 403禁止使用,但可在所有浏览器中使用

文件Installing python-dotenv… ⠋ Installing...Failed to load paths: /bin/sh: /Users/markmorelos/.local/share/virtualenvs/markmorelos-McSWjmIu/bin/python: No such file or directory Output: ⠴ Installing python-dotenv...Failed to load paths: /bin/sh: /Users/markmorelos/.local/share/virtualenvs/markmorelos-McSWjmIu/bin/python: No such file or directory Output: Failed to load paths: /bin/sh: /Users/markmorelos/.local/share/virtualenvs/markmorelos-McSWjmIu/bin/python: No such file or directory Output: Error: An error occurred while installing python-dotenv! Error text: /bin/sh: /Users/markmorelos/.local/share/virtualenvs/markmorelos-McSWjmIu/bin/pip: /Users/markmorelos/.local/share/virtualenvs/markmorelos-McSWjmIu/bin/python: bad interpreter: No such file or directory ✘ Installation Failed``` I already tried reinstalling the entire Anaconda package as well as Visual Code. I've done brew install --force pipenv,and brew link --overwrite pipenv but to no avail. Also,since I uninstalled and reinstalled,I am no longer able to install anything in pipenv like pipenv install pandas,etc. The error is all the same.

命令:

EssentialsX-2.18.1.0.jar

输出

wget "https://dev.bukkit.org/projects/essentialsx/files/latest"

解决方法

对问题进行调查后,我得出了这个结论:

该网站使用cloudflare和hcaptcha验证客户端是否为人类。 因此,它将永远无法与wget一起使用

它在幕后加载了这个: https://dev.bukkit.org/cdn-cgi/scripts/hcaptcha.challenge.js

它将自动在浏览器中运行一些代码以验证您确实不是机器人,这很可能无法通过wget绕过。

该网站基本上要求您以人工下载文件,并已外包工作以进行验证。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。