cURL - 加载具有 CloudFlare 保护的站点 [英] cURL - Load a site with CloudFlare protection

查看:47
本文介绍了cURL - 加载具有 CloudFlare 保护的站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个要使用 cURL 加载的站点.但是,我正在谈论的站点正在使用 cloudflare 保护.在 cURL 请求中 => 显示正在检查您的浏览器,您将在 5 秒内被重定向"并且我被重定向到不存在的页面,因为我认为我没有通过一些保护测试.

我一直在寻找我的答案,但我只找到了两个有用的链接:

链接 1

链接2

但是我还是想不通.对我有什么帮助吗?

解决方案

那就是 CloudFlare 的 I'm Under Attack Mode --> http://blog.cloudflare.com/introducing-im-under-attack-mode

如果您是网站的所有者,您应该将自己的 IP 地址列入白名单.如果您是该网站的访问者

1.) 网站所有者在他们自己的网站上启用了该功能,在这种情况下,这是有意为之,因为他们正在保护他们的网站或

2.) 您加载站点过于频繁——并且您触发了 CloudFlare 的 DDOS 保护.

附言免责声明:我为 CloudFlare 工作.

I have a site which I want to load using cURL. However, the site I'm talking about is using cloudflare protection. While on cURL request => it says 'checking your browser, you will be redirected in 5 seconds' and I'm getting redirected to the page that doesn't exists because as I think I didn't pass some protection test.

I've been looking for my answer for a long and i found only two useful links:

Link 1

Link 2

But still I can't figure it out. Any help for me?

解决方案

That would be CloudFlare's I'm Under Attack Mode --> http://blog.cloudflare.com/introducing-im-under-attack-mode

If you are the owner of the site you should whitelist your own IP address. If you're a visitor to the site either

1.) The website owner has the feature enabled on their own website in which case it's intentional and there is no way around that as they are protecting their website or

2.) You are loading the site too often -- and you're triggering CloudFlare's DDOS protection.

p.s. Disclaimer: I work for CloudFlare.

这篇关于cURL - 加载具有 CloudFlare 保护的站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆