MCPcopy Create free account
hub / github.com/apify/crawlee-python / add_error

Method add_error

src/crawlee/proxy_configuration.py:239–240  ·  view source on GitHub ↗
(self, domain: str, tier: int)

Source from the content-addressed store, hash-verified

237 return self._tiered_proxy_urls[tier_number]
238
239 def add_error(self, domain: str, tier: int) -> None:
240 self._histogram_by_domain[domain][tier] += 10
241
242 def predict_tier(self, domain: str) -> int:
243 histogram = self._histogram_by_domain[domain]

Callers 1

_pick_urlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected