refactor(tradein/scraper-kit): domclick providers on shared _base.py (#2364) #2372
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2372
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/tradein-scraper-kit-f4d-domclick"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Migrates
providers/domclick/serp.pyto build its browser fetcher via the sharedbuild_browser_fetcher(self._config, "domclick")helper instead of constructingBrowserFetcher(source=..., endpoint=...)directly.detail.pyneeded no change —fetch_detailreceives an already-built fetcher from the orchestrator.Part of scraper_kit migration epic #2277, Group F.
Caveat (confirmed inert)
use_poolnow readsconfig.use_proxy_pool_browserinstead of a hardcodedFalse. Confirmed behaviorally inert:browser_fetcher.py's_pool_proxyAND-gatesuse_poolwithproxy_provider is not None, and this call site never passesproxy_provider(DomClickScraperhas no such field) — so the pool path is never taken either way, old or new.Review
Independent code-reviewer verdict: approve, no blocking or minor issues.
fetch_detailcaller/signature check confirmed no changes needed there.test_search_api.py::test_search_cache_hit, 401-vs-200 auth assertion, matches known issue #2208) — no new regressions.ruff checkandruff format --checkclean on the changed file.Closes #2364.