$ show tushen6/Tomorrow
This repository is a comprehensive collection of configuration files, JavaScript and Python scrapers, and JSON data for TVBox-like media center applications (e.g., ๅฝฑ่งไป, OKๅฝฑ่ง). It aggregates video content from hundreds of Chinese streaming sites, cloud drives (Aliyun, Quark, 115, etc.), live TV sources, and anime platforms. The core is a set of scraping rules that follow the TVBox ecosystem's conventions, using a templating system (muban) and a shared runtime (drpy2.js) for executing JavaScript-based rules. The repository also includes standalone Python spiders (dr_py compatible) and static JSON configurations for site definitions, search endpoints, and filter parameters. While the code is functional and actively used (2257 stars, 0 open issues), it exhibits significant technical debt: hardcoded API keys, duplicated code across many files, fragile parsing logic dependent on external site structures, and embedded secrets (tokens, cookies). The repository is not a standalone application but a resource library for media aggregation, making it best suited for integration into TVBox variants. It is not a data research project; there are no notebooks, pipelines, or analytical models.
The LLM identified 1 files worth highlighting for reuse:
A self-contained JavaScript rule engine for TVBox scrapers. It provides a standardized runtime (init, home, category, detail, play, search) with built-in support for HTTP requests, HTML parsing via cheerio, encryption/decryption (AES, RSA, MD5, base64, GZip), OCR verification, and template inheritance. The engine is designed to be embeddable (QuickJS environment) and allows developers to write video source rules as plain JavaScript objects. It demonstrates non-obvious skill in balancing flexibility, reusability, and performance in a constrained environment. This module could be extracted and reused in any project that needs a lightweight, extensible scraping framework with cryptographic capabilities.