Restore tools/endpoint-discovery as optional Python tool

Restores the browser-based endpoint discovery script that was
mistakenly removed in the Go --discover PR. Optional: use this for
broader discovery (XHR capture) or unpoller --discover for known endpoints.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
brngates98
2026-01-30 21:22:17 -05:00
parent 490ae4567a
commit 4d19a9b2c8
5 changed files with 253 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# UniFi controller URL (same URL you use for unpoller)
UNIFI_URL=https://192.168.1.1
UNIFI_USER=admin
UNIFI_PASS=your-password
# Optional: run with visible browser
# HEADLESS=false
# Optional: custom output directory (default: this directory)
# OUTPUT_DIR=.