写爬虫爬微博的时候返回的错误,我搜到是说一个彩蛋...... 但是没看懂什么意思呀,而且为什么会触发 418 呢。
写爬虫爬微博的时候返回的错误,我搜到是说一个彩蛋...... 但是没看懂什么意思呀,而且为什么会触发 418 呢。
|
lcdtyphJul 7, 2019 via iPhone
1
因为触发了反爬…
|
|
visualbasicJul 7, 2019 via Android
2
因为你和 618 只差一个 HTTP 200 ……
|
|
3
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 所说,你触发了反爬,微博的程序员就返回这个和你开个玩笑 :-) |
|
ydirelJul 8, 2019
4
我是个茶壶
|
|
5
@lonelinsky 原来是这样的彩蛋.....
|
|
decemberJul 8, 2019
6
哈哈,看到 418 我就猜到是微博了。
|
|
fank99Jul 8, 2019
7
之前爬其他网站也遇到过 418。。触发反爬了
|
|
dai123456Jul 8, 2019
8
发爬了,你的 ip 使用的是太多了吗?一种是使用代理,一种是编写个发爬的程序
|
|
dai123456Jul 8, 2019
12
专业爬虫代理,我可以帮你推荐一下
|