From 099e39f440a090a6484de4f181ebc99d4d927117 Mon Sep 17 00:00:00 2001 From: Boris <564773807@qq.com> Date: Fri, 18 Aug 2023 16:44:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/source_code/proxy.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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: 删除代理