我的 https 网站无法通过 WGET 命令下载
我可以通过浏览器浏览页面,但无法通过wget下载html页面。 https://money.benck.tw
当我使用 wget 时,它甚至无法连接到网站:
--2011-10-12 05:30:24-- https://money.benck.tw/
Resolving money.benck.tw... 97.107.135.68
Connecting to money.benck.tw|97.107.135.68|:443... failed: Connection timed out.
Retrying.
--2011-10-12 05:33:35-- (try: 2) https://money.benck.tw/
Connecting to money.benck.tw|97.107.135.68|:443...
但是,我可以下载其他 https 网站,例如: https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js 这很奇怪。
I can browse the page by browser, but I can't download the html page by wget.
https://money.benck.tw
When I use wget, it can't even connect to the website:
--2011-10-12 05:30:24-- https://money.benck.tw/
Resolving money.benck.tw... 97.107.135.68
Connecting to money.benck.tw|97.107.135.68|:443... failed: Connection timed out.
Retrying.
--2011-10-12 05:33:35-- (try: 2) https://money.benck.tw/
Connecting to money.benck.tw|97.107.135.68|:443...
However, I can download the other https website like: https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
It's very weird.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
对于此网站,您必须使用 --no-check-certificate 命令
For this website you have to use the --no-check-certificate command
我正在实验同样的问题,我尝试从外部站点下载文件,例如 https://downloads.wordpress.org/plugin/easy-wp-smtp.zip 和我使用 --no-check-certificate 的 wget 仍然不起作用......这一行冻结了:
连接到downloads.wordpress.org (downloads.wordpress.org)|198.143.164.250|:443...
有人有同样的问题吗?
未配置 IP 表和规则。当我在同一网络上的其他服务器上执行此操作时效果很好。这只发生在该服务器上。
问候,
于弗兰西斯科
I'm experiments the same issue, I trying to download files from an external site like https://downloads.wordpress.org/plugin/easy-wp-smtp.zip and I wget using --no-check-certificate stills not working.... It's freezing in this line:
Connecting to downloads.wordpress.org (downloads.wordpress.org)|198.143.164.250|:443...
Anyone have the same issue?
No IP tables configured and rules. When I do this on other server on the same networks works fine. This only happens on this server specialy.
Regards,
Francisco Yu
这是因为该页面可能被
wget
过于频繁地抓取。您需要修改标头,尤其是 useragent。来自其他网站的示例:
--no-check-certificate 不支持,
但下载 sendign 其他标头的其他工具有效
This is because of this page is probably scraped by
wget
too often. You need to modify headers, especially useragent.Examples from other website:
--no-check-certificate does not hepls
but other tool to download sendign other headers works