初始化Web解析器客户端 Args: base_url: API服务器的基础URL,默认为本地测试服务器
(self, base_url: str = "http://localhost:8000")
| 4 | |
| 5 | class WebParserClient: |
| 6 | def __init__(self, base_url: str = "http://localhost:8000"): |
| 7 | """ |
| 8 | 初始化Web解析器客户端 |
| 9 | |
| 10 | Args: |
| 11 | base_url: API服务器的基础URL,默认为本地测试服务器 |
| 12 | """ |
| 13 | self.base_url = base_url.rstrip('/') |
| 14 | |
| 15 | def parse_urls(self, urls: List[str]) -> List[Dict[str, Union[str, bool]]]: |
| 16 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected