我用的是快代理,他能调出api接口,每次返回一些代理ip,怎么样做到隔2分钟自动换一批
每两分钟请求一次就好,
while True: if time.strftime('%M', time.localtime())%2==0: ip=requests.get(url)