File tree 1 file changed +6
-9
lines changed 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
# free-http-proxy
2
+ > some high anonymous proxy spider & check service, output data api used ` bottle ` web framework.
2
3
3
- > 一些免费的** 高匿名** HTTP代理采集加验证爬虫,采用` bottle ` 做web interface输出代理,供其他爬虫调用。
4
4
5
-
6
- ## Run on CentOS 7
7
-
8
- 1.Install packages
5
+ ### 1.Install packages
9
6
``` bash
10
7
pip install -r requirements.txt
11
8
```
12
9
13
- 2.Install mysql
10
+ ### 2.Install mysql
14
11
``` bash
15
12
rpm -Uvh http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
16
13
yum install -y mysql-community-server
17
14
systemctl enable mysqld
18
15
systemctl start mysqld
19
16
```
20
17
21
- 3.Init scheme
18
+ ### 3.Init scheme
22
19
``` bash
23
20
echo -n " Enter new mysql root password and press [ENTER]: "
24
21
read -s newpass
29
26
mysql -u root -p < db.sql
30
27
```
31
28
32
- 4.Web Interface
29
+ ### 4.Web Interface
33
30
``` bash
34
31
nohup python app.py > /dev/null 2>&1 &
35
32
```
36
33
37
- 5.crawling service
34
+ ### 5.crawling service
38
35
``` bash
39
36
nohup python service.py fetch > /dev/null 2>&1 &
40
37
nohup python service.py check > /dev/null 2>&1 &
You can’t perform that action at this time.
0 commit comments