docs: update README.md

This commit is contained in:
Relakkes
2024-04-06 10:57:42 +08:00
parent dde3c0429e
commit 27f3461e31
4 changed files with 6 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ class IpGetError(Exception):
class ProxyProvider(ABC):
@abstractmethod
async def get_proxies(self, num: int) -> List[Dict]:
async def get_proxies(self, num: int) -> List[IpInfoModel]:
"""
获取 IP 的抽象方法,不同的 HTTP 代理商需要实现该方法
:param num: 提取的 IP 数量