diff --git a/docs/source_code/proxy.md b/docs/source_code/proxy.md index c30040a2..4863742e 100644 --- a/docs/source_code/proxy.md +++ b/docs/source_code/proxy.md @@ -53,9 +53,8 @@ ip:port 1. 编写代理池:例如在你的项目下创建个my_proxypool.py,实现下面的函数 ```python - from feapder.network.proxy_pool import ProxyPool - - + from feapder.network.proxy_pool import ProxyPool + class MyProxyPool(ProxyPool): def get_proxy(self): """ @@ -64,7 +63,7 @@ ip:port {"http": "xxx", "https": "xxx"} """ pass - + def del_proxy(self, proxy): """ @summary: 删除代理