Supports extracting Media Sources (direct video source with no ads) from various pirated movie sites such as (Bilutv, KhoaiTV, etc.). Caching system is implemented to avoid IP bans, so the code is basically production ready.
npm install
npm run start
- Implement media source extracting schema for each sites. (source:
site/*.js
) - Caching system:
cache/*.js
contains multiple implementations of CacheManager extending fromcache/base.js
.- CacheManager is utilized in retrieving metadata from
streaming_services
(Hydrax, Google Drive, Google Photos, Youtube, ...) and pirated sites metadata (Phimmoi's API, Bilutv's API) - Muti-layer cache:
- Since we need to retrieve site's metadata (through SiteAPI) before getting the necessary information to call Streaming Service's API, a multi-layer cache is implemented to handle cases when one of them goes down, or both go down. (IP bans)