- 运行python3
- 第三方包requests
- 安装
pip install xiaochuanhttpsproxy
- 使用
import xiaochuanhttpsproxy
xiaochuanhttpsproxy.start(2)
print(xiaochuanhttpsproxy.getip())
-
每次提取的ip有接近20个,start的参数为2
-
函数解释:start() 开始提取,参数为提取的页面数,一页100个初始ip, getip()获取随机ip
-
start(1)的运行时间大概为2分钟,以此类推
联系
mail:[email protected]