Skip to content

[codex] Add review removal fields#266

Draft
jcmpagel wants to merge 2 commits into
gosom:mainfrom
jcmpagel:codex/review-deletion-fields
Draft

[codex] Add review removal fields#266
jcmpagel wants to merge 2 commits into
gosom:mainfrom
jcmpagel:codex/review-deletion-fields

Conversation

@jcmpagel
Copy link
Copy Markdown

@jcmpagel jcmpagel commented May 3, 2026

Summary

Adds review-removal metadata to scraped Google Maps entries so defamation-related review-removal notices can be exported alongside normal review counts. Also updates the README to remove promotional sponsor/ad sections and document the new output fields.

Changes

  • Add removed_reviews_min and removed_reviews_max fields to the JSON and CSV entry output.
  • Export per-rating review-count columns for 1 through 5 stars in CSV output.
  • Parse Google Maps review-removal notice ranges from both place detail payloads and search-result payloads.
  • Cover numeric ranges, word ranges, German open-ended notices, and single-review notices in gmaps tests.
  • Remove README sponsor/ad blocks and explain the new review-removal fields.

Validation

  • gofmt -w gmaps/entry.go gmaps/entry_test.go gmaps/multiple.go
  • git diff --check
  • go test ./gmaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant