Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Vidlink.pro-Decryptor

Stars Forks License

The Ultimate VidLink.pro API Solution

A high-performance, pure-Python REST API that bypasses WASM encryption to retrieve direct M3U8 streaming links for Movies and TV Shows.


πŸš€ Features

  • ⚑ Pure Python Implementation: No Node.js, No Go, and No WASM overhead.
  • πŸ” Native Decryption: Uses PyNaCl to replicate VidLink's XSalsa20-Poly1305 logic.
  • πŸ•’ Adaptive Time-Sync: Intelligence-based timestamp offset to prevent token expiration.
  • πŸ•΅οΈ Stealth Requests: Integrated curl_cffi to bypass Cloudflare WAF via TLS fingerprinting.
  • 🎨 Minimalist Documentation: Built-in aesthetic landing page for easy testing.

πŸ› οΈ Installation

  1. Clone the repository

    git clone https://github.com/walterwhite-69/Vidlink.pro-Decryptor.git
    cd Vidlink.pro-Decryptor
  2. Install dependencies

    pip install -r requirements.txt

πŸ“– Usage

Start the FastAPI server:

python main.py

Now, either visit the interactive docs at http://localhost:8000 or call the endpoints directly:

Endpoint Description
GET /movie/{tmdb_id} Fetch direct sources for movies.
GET /tv/{tmdb_id}/{s}/{e} Fetch direct sources for episodes.

βš™οΈ Technical Breakdown

This project reverse-engineered the VidLink Pro encryption logic found in their site assets. Unlike traditional solutions that rely on a browser or WASM bridge, this tool:

  1. Generates a valid 24-byte nonce.
  2. Constructs a binary message containing the Media ID and a 64-bit Big-Endian Timestamp.
  3. Encrypts the payload using a reversed production key.
  4. Mimics a real Chrome 110 fingerprint to fetch the JSON response.

Developer: Walter

Built with ❀️ for the open-source community.

About

Traditionally, interacting with VidLink APIs required complex WASM bridges or resource-heavy browser automation. This project changes the game by achieving **100% native Python compatibility**. By reverse-engineering the production encryption keys and implementing the `XSalsa20-Poly1305` protocol in pure Python

Topics

Resources

Stars

12 stars

Watchers

0 watching

Forks

Contributors

Languages