Skip to content

Commit 1d3ec19

Browse files
author
jhao104
committed
[update] 修改启动方式
1 parent 3c41e10 commit 1d3ec19

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ pip install -r requirements.txt
100100
需要分别启动定时任务和api
101101
到Config.ini中配置你的SSDB
102102
103-
项目目录下:
104-
>>>python -m Schedule.ProxyRefreshSchedule
103+
到Schedule目录下:
104+
>>>python ProxyRefreshSchedule.py
105105
106-
到Api目录下:
107-
>>>python -m Run.main
106+
到Run目录下:
107+
>>>python main.py
108108
```
109109

110110
### 5、使用
@@ -141,7 +141,7 @@ def delete_proxy(proxy):
141141
142142
def spider():
143143
# ....
144-
requests.get('https://www.example.com', proxies={"http": "http://{}".format(get_proxy)})
144+
requests.get('https://www.example.com', proxies={"http": "http://{}".format(get_proxy())})
145145
# ....
146146
147147
```

0 commit comments

Comments
 (0)