/2embed-api

Get HLS streams and info from 2embed.to

Primary LanguageTypeScript

2embed-api

Get HLS streams and info from 2embed.to

Run Locally

Clone the project

  git clone https://github.com/parnexcodes/2embed-api

Go to the project directory

  cd 2embed-api

Install dependencies

  npm install

Start the server

  cd src
  npm dev

API Reference

Get tmdb details

  GET /api/details/:type/:id
Parameter Type Description
type string movie/tv
id string tmdb id

Get Episodes

  GET /api/episodes/tv/:id/seasons/:season_n_query
Parameter Type Description
id string tmdb id
season_n_query string season number

Get HLS Stream

  GET /api/get_source/:type?id=${id}&s=${season_num}&e=${ep_num}
Parameter Type Description
type string movie/tv
id string tmdb id
s string Only for TV : season number
e string Only for TV : episode number

Authors