MCPcopy Create free account
hub / github.com/RUC-NLPIR/WebThinker / __init__

Method __init__

scripts/utils/test_webparser.py:6–13  ·  view source on GitHub ↗

初始化Web解析器客户端 Args: base_url: API服务器的基础URL,默认为本地测试服务器

(self, base_url: str = "http://localhost:8000")

Source from the content-addressed store, hash-verified

4
5class 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 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected