mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-03-03 04:30:47 +08:00
docs: update README.md
This commit is contained in:
@@ -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 数量
|
||||
|
||||
Reference in New Issue
Block a user