Skip to content
SIMPLYAKIBPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Vidsync Extractor API

A clean, modular API service (Node.js/Express) that extracts direct streaming links and tracks from Vidsync player embed URLs.

Features

  • Modular provider system (?server=X routing architecture).
  • Clean JSON responses.
  • Language discovery endpoints.
  • Auto-normalization of messy provider languages.
  • Direct extraction from Vidsync's internal extraction API stream.

Setup & Run

Prerequisites

  • Node.js (v18+ recommended)

Installation

  1. Install dependencies:
    npm install

Running Locally

Run the server in development mode (with auto-restart via --watch if supported by your Node version):

npm run dev

Or run normally:

npm start

By default, the server listens on http://localhost:3000.

API Endpoints

1. TV Series Routes

Language Discovery

GET /tv/{tmdbId}/{season}/{episode}/languages?server=1

Example: http://localhost:3000/tv/1399/1/1/languages?server=1

Specific Language Stream Fetching

GET /tv/{tmdbId}/{season}/{episode}/{language}?server=1

Example: http://localhost:3000/tv/1399/1/1/english?server=1

2. Movie Routes

Language Discovery

GET /movie/{tmdbId}/languages?server=1

Example: http://localhost:3000/movie/299534/languages?server=1

Specific Language Stream Fetching

GET /movie/{tmdbId}/{language}?server=1

Example: http://localhost:3000/movie/299534/english?server=1

Response Format

{
  "success": true,
  "provider": "vidsync",
  "server": 1,
  "tmdbId": "1399",
  "season": 1,
  "episode": 1,
  "language": "english",
  "sources": [
    {
      "url": "https://sacdn.hakunaymatata.com/...",
      "quality": "1080p",
      "format": "dash",
      "isM3U8": false,
      "isDash": true,
      "provider": "VidLink",
      "headers": {
        "referer": "https://vidlink.pro/",
        "origin": "https://vidlink.pro",
        "user-agent": "..."
      },
      "availableQualities": [
        "1080p",
        "720p",
        "480p"
      ],
      "audioTracks": [
        {
          "language": "en",
          "label": "English"
        },
        {
          "language": "original",
          "label": "ORIGINAL"
        }
      ]
    }
  ],
  "subtitles": []
}

Deployment

You can deploy this service to any Node.js hosting platform (Render, Heroku, Vercel, Railway, etc.).

  • If your host provides a PORT environment variable, the service will bind to it automatically.
  • Ensure the start script is set to npm start.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages