This service crawls pages under:
https://war.gov/ufohttps://war.gov/ufo/release
It discovers in-scope pages and downloads linked images, videos, PDFs, and document files.
- Crawls breadth-first, page-by-page from seed URLs
- Stays in seed path scope on the same host
- Detects assets via HTML tags, URL extensions, and response content-type
- Deduplicates pages and assets
- Downloads assets concurrently
- Preserves host/path structure under an output directory
go run ./cmd/ufo-scraper \
-out ./downloads \
-max-pages 0 \
-max-depth 0 \
-download-workers 8-seedscomma-separated seeds (default includes both UFO paths)-outoutput directory-max-pagescap number of crawled pages (0= unlimited)-max-depthcrawl depth from seeds (0= unlimited)-page-delaydelay between page requests (default750ms)-download-workersparallel download count-timeoutper-request timeout-max-retriesretry count for transient failures (429/5xx+ network errors)-user-agentoverride UA string-proxyproxy URL (helpful if access is geofenced)-header "Key: Value"add custom request headers (repeatable)
go run ./cmd/ufo-scraper \
-proxy socks5://127.0.0.1:1080 \
-header "Accept-Language: th-TH,th;q=0.9,en-US;q=0.8" \
-header "Referer: https://war.gov/"