IT狗 2e823c9d16 v1.1.0: fix /crawl/* GET routes (move handlers to do_GET start)
Bug: /crawl/status and /crawl/download handlers were placed after
return statement in do_GET, making them dead code. Static file
check would 404 + fall through to index.html (HTML 200), masking
the real issue.

Fix: move /crawl/* API handlers to top of do_GET, before static
file check. Now /crawl/status returns JSON, /crawl/download
returns file with proper Content-Disposition.

Also: cleanup duplicate def do_GET introduced by earlier patch.

Reported by: Hermes (@Ir_workbot)
2026-07-24 20:23:39 +08:00
2026-05-22 14:24:05 +08:00
2026-05-22 14:24:05 +08:00
S
Description
URL-to-PDF + Doc Site Crawler (v2 two-phase)
77 KiB
Languages
JavaScript 56.1%
Python 33.2%
HTML 10.7%