MCPcopy Create free account
hub / github.com/Alibaba-NLP/DeepResearch / __init__

Method __init__

WebAgent/WebWeaver/tool/tool_retrieve.py:43–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 """Scraper内容读取器"""
42
43 def __init__(self):
44 self.scraper_key = os.getenv("SCRAPER_API_KEY")
45 self.scraper_country_code = "us"
46 self.scraper_time_out = 40
47 def readpage(self, url: str) -> str:
48 payload = {'api_key': self.scraper_key,
49 'url': url,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected