Socket
Socket
Sign inDemoInstall

sc-wrapper

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sc-wrapper

Wrapper for streamingcommunity website (to get the url, send a random message to: https://t.me/BelloFigoIlRobot)


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

SC Wrapper

Wrapper for streamingcommunity website (to get the url, send a random message to: https://t.me/BelloFigoIlRobot)

API

There are three main functions exposed:

It searches for a movie or tv show by its name

/**
 * @description It can match the exact name or, if exact and estimate are true, can estimate the match of the movie title relative to the name we're searching for
 */
async function search_movie(
  name: string,
  {
    max_results = 3,
    match_estimate,
    match_exact,
  }: {
    max_results?: number;
    match_exact?: boolean;
    match_estimate?: boolean;
  }
): Promise<Movie[]>

It gets a movie or episode watch playlist url that, for example, you can use in a player like HLS Player

async function get_playlist(
  options: {
    movie_id: Movie["id"];
  } & (
    | {
        episode_id: number;
      }
    | {
        episode_id?: undefined;
      }
  )
): Promise<string>

It can generates a download link for a movie or episode or download it as a buffer that, for example, you can save in a file

async function download(
  master_playlist_url: string,
  return_type: "url" | "buffer"
): Promise<string | Buffer>

NPM

You can find it on npm

Build

You can manually build your version, you'll find the dist in the appropriate folder

npm install
npm run build

FAQs

Last updated on 19 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc