写爬虫遇到 Internal server error
因为访问太多次,所以我的IP是被禁了(猜的),这时候就要更新IP代理池,有一个简单的方法,记录如下:
r = requests.get("https://jsonblob.com/api/jsonBlob/31bf2dc8-00e6-11e7-a0ba-e39b7fdbe78b", timeout=10)
写爬虫遇到 Internal server error
因为访问太多次,所以我的IP是被禁了(猜的),这时候就要更新IP代理池,有一个简单的方法,记录如下:
r = requests.get("https://jsonblob.com/api/jsonBlob/31bf2dc8-00e6-11e7-a0ba-e39b7fdbe78b", timeout=10)