cURL - 加载网站以保护CloudFlare [英] cURL - Load a site with CloudFlare protection

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

问题描述

我有一个网站,我想使用cURL加载。但是,我在说的网站是使用cloudflare保护。当在cURL请求=>它说检查您的浏览器,您将被重定向在5秒',我被重定向到不存在的页面,因为我认为我没有通过一些保护测试。 p>

我一直在寻找我的答案,我发现只有两个有用的链接:



链接1



链接2



但我还是无法弄清楚。

解决方案

这将是CloudFlare的我在攻击模式 - > http://blog.cloudflare.com/introducing-im-under-attack-mode



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



1)。网站所有者已在自己的网站上启用该功能,这是有意的,没有办法因为他们正在保护他们的网站或



2)。您正在加载网站太频繁 - 您触发CloudFlare的DDOS保护。



ps免责声明:我为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天全站免登陆