Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ShufeTime/ProxyPool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProxyPool

1.配置

安装依赖

pip3 install pymysql
pip3 install requests
pip3 install bs4
pip3 install lxml
pip3 install sqlalchemy

数据库配置

conf/setting.py中配置数据库

DATABASE_URI = 'mysql+pymysql://root:[email protected]:3306/proxypool?charset=utf8'

初始化数据库

python3 init.py

2.运行

抓取代理IP

python3 proxypool.py

定时验证IP

python3 verify.py

3.启用HTTP Server

感谢 Luzz

python3 server.py
curl http://localhost:5000/

About

高匿代理IP池

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%