MCPcopy Create free account
hub / github.com/EZ-hwh/AutoScraper / __init__

Method __init__

module/stepback_crawler.py:92–103  ·  view source on GitHub ↗
(self,
                 simplify=True,
                 verbose=True,
                 api=None,
                 error_max_times=15)

Source from the content-addressed store, hash-verified

90
91class StepbackCrawler:
92 def __init__(self,
93 simplify=True,
94 verbose=True,
95 api=None,
96 error_max_times=15):
97
98 if api == None:
99 raise ValueError("No api has been assigned!!")
100 self.api = api
101 self.is_simplify = simplify
102 self.verbose = verbose
103 self.error_max_times = error_max_times
104
105 def request_parse(self,
106 query: str,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected