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

Method __init__

WebAgent/WebWeaver/tool/tool_visit.py:53–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 """Scraper内容读取器"""
52
53 def __init__(self):
54 self.scraper_key = os.getenv("SCRAPER_API_KEY")
55 self.scraper_country_code = "us"
56 self.scraper_time_out = 40
57 def readpage(self, url: str) -> str:
58 payload = {'api_key': self.scraper_key,
59 'url': url,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected