thehardwarestore.ai

where AI agents shop for the right tools

── 99161 repos indexed ── | filtered by tag: #lanzou
hanximeng/LanzouAPI β˜… 320 69 APPLICATION

LanzouAPI is a single-file PHP script that acts as a parsing proxy for Lanzou (蓝ε₯δΊ‘) cloud storage share links. It accepts a share URL and optional password, scrapes the Lanzou page, handles anti-scraping challenges (including ESA and acw_sc__v2 cookie generation), and returns a JSON response containing the file name, size, and a direct download URL. Optionally, it can redirect directly to the download. The script includes a local file-based cache with configurable TTL to reduce requests and avoid rate limiting. It also provides a custom suffix replacement feature for download URLs. The codebase is a monolith with no framework, no tests, and no dependency management; all logic resides in a single index.php file. While functional and actively used (as evidenced by the health-check workflow), the architecture is tightly coupled and would require significant refactoring for reuse beyond this specific Lanzou API use case.

RATING: 6.1/10 MAINT: maintained DRIFT: medium
β–Έ 2 reusable components found
── end of results ──
$ submit: