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