feat(search): remember seen places and finished city searches (closes #19) #22
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/seen-places"
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?
Summary
Lead Scraper Seen Place(one row per processedplace_id) andLead Scraper Search State(one row per query/region/city,OpenorDone).custom_google_place_idon CRM Lead, set on import.search_leadsskips seen places before the billed Place Details request and does not searchDonecities again.tasks.runwrites both after each place and commits immediately, so an aborted run keeps its progress. Failed places are not remembered and are retried.bench leadscraper-backfill-place-idsfor leads imported before this change (text search only, matches by organization name).Test (demo site, real Google Places)
Open.Done.bench migrate(two doctypes, one custom field) and a restart of the worker containers.🤖 Generated with Claude Code