feature: add PizzINT site extractor with HTTP API #67
Reference in New Issue
Block a user
Delete Branch "feature/pizzint-site-extractor"
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
Adds a new site extractor for pizzint.watch — the Pentagon Pizza Index dashboard that tracks pizza shop activity near the Pentagon as an OSINT indicator of military activity.
sites/pizzint/pizzint.go— Core extractor withConfig.GetStatus()method that fetches the PizzINT/api/dashboard-dataendpoint via the browser and parses the JSON response into Go types (PizzaStatus,DoughconLevel,Restaurant,Event)sites/pizzint/pizzint_test.go— Mock-based unit tests covering JSON parsing, HTML-wrapped responses, DOUGHCON levels, restaurant status strings, and error cases (11 tests)sites/pizzint/cmd/pizzint/main.go— CLI tool with two modes:--serve): exposesGET /status(JSON) andGET /(human-readable text) with configurable caching (--cache-ttl)API Response Example
Usage
Test plan
go test ./sites/pizzint/...)go build ./...)go test ./...)🤖 Generated with Claude Code