如何伪造我的 IP 地址
我有一个蜘蛛从某个网站收集数据。但它经常被拒绝。
我认为这是我的 IP 地址的基础。
我如何伪造我的 IP 地址。或者有其他方法可以避免被拒绝。
谢谢。
I have a sprider collect data from some web site.but it offen be denied.
I think it basis of my IP address.
how can I fake my IP address. or have a another way to avoid be denied.
thx.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
那么您可以做的就是尝试通过代理服务器访问端点。如果端点更困难并且可以检测到您是否通过代理访问,您可以尝试代理链接,或者更好地尝试像tor这样的东西。查看这个问题 - Connect to Tor network with ruby 以获得进一步帮助。
Well what you can do is try to access the end point through a proxy server. If the end point is tougher and can detect if you're coming through a proxy, you can try proxy chaining, or better still try something like tor. Look at this question - Connect to Tor network with ruby for further help.
唯一的方法是使用代理,或者要求您的 ISP/托管提供商给您一个新的代理(我怀疑他们可能不会,或者即使他们这样做,他们也不会经常这样做。
)某个网站正在阻止您的 IP 地址,因为您正在其上运行蜘蛛,您也许应该考虑一下您访问该网站的频率以及您为该网站带来了多少流量。他们阻止你的 IP 是有原因的(如果是的话)。也许会改变你与蜘蛛站在一起的频率,并确定你是否应该这样做(尽管我在网站上没有任何详细信息,所以我无法对此发表评论)
The only way would be to use a proxy, or to ask your ISP/hosting provider to give you a new one (and I suspect they probably won't, or if they do, they won't do it too often.)
If a site is blocking your IP address because you're running a spider on it, you should maybe think about how often you go to that website and how much traffic you cause the site. There's a reason they're blocking your IP (if they are.) Maybe change how often you go to the side with the spider, and also determine whether or not you should be (though I don't have any details on the site, so I can't comment on that)