请问大家 HTTP 错误代码 418 是什么意思呢
写爬虫爬微博的时候返回的错误,我搜到是说一个彩蛋...... 但是没看懂什么意思呀,而且为什么会触发 418 呢。
3lonelinsky 202 天前
418 I'm a teapot
The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is a teapot. This error is a reference to Hyper Text Coffee Pot Control Protocol which was an April Fools' joke in 1998.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418
所以就如 1L 所说,你触发了反爬,微博的程序员就返回这个和你开个玩笑 :-)
fank99 202 天前
之前爬其他网站也遇到过 418。。触发反爬了
dai123456 202 天前
发爬了,你的 ip 使用的是太多了吗?一种是使用代理,一种是编写个发爬的程序