Repository navigation
v2.3.1: no emails or socials from another business's website
Some Google listings point at another business's website. In a real Austin run, a plumber named "Chase LLC" was listed with a bank's homepage, so its row got the bank's phishing@ address and the bank's Instagram, Facebook, LinkedIn and X links. This release stops that (#67).
Fixed: emails and socials from the wrong website
- Another business's site is skipped. A homepage that shows neither the listing's phone number nor a word of its category gives no emails, social links or tech flags, and its contact pages are not fetched. The run says how many sites were skipped. When unsure (no page, almost no text, or a listing with no phone and no category), the site is kept as before.
- Report and abuse inboxes are dropped. abuse@, phishing@, spoof@, spam@, fraud@, dmca@ and hostmaster@ are never a sales contact.
- The script (
scripts/scrape.py) and the engine behind the web UI and API (engine/jobs.py) use the same rule, and a test keeps them in step.
Tests
The offline suites pass: scripts/test_scrape.py (117), engine/test_engine.py (103), engine/test_cdp.py (26) and engine/test_website_browser.py (20). A live run of 20 Austin plumbers skipped exactly one site, the wrong one.
Update with bash scripts/update.sh.