feat(cameras): MDOT MiDrive parser -> cameras table #34

Merged
sirius merged 1 commit from osint-dashboard/t_8be8d860-osint-mdot-midrive-cameras-cameras-table into master 2026-08-31 21:50:46 -04:00

1 commit

Author SHA1 Message Date
Sirius DevOps
fbff9e5415 feat(cameras): MDOT MiDrive parser -> cameras table
Add parse_mdot_json for the MDOT MiDrive camera/list JSON where
coordinates/id live in the county field's map link (lat=/lon=/id=) and
the JPEG still lives in the image field's <img src>. Michigan bbox
filter, missing-coords drop, RTSP reject. discovery_source=mdot,
stable source_url keyed on camera id, url_hash dedupe. Wired into
scrape_source dispatch + CAMERA_SOURCE_URLS defaults.

Unit tests: HTML field extract, bbox drop, missing-coords/image drop,
malformed payload.
2026-08-31 21:31:12 -04:00