OpenByteDev / SourceScraper

Simple library which helps you to retrieve the source of various video streaming sites.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SourceScraper

Build Status npm version Dependency Status DevDependency Status License Doge lerna

Scrap the sources from your favorite video streaming sites.


Supported Sites

Source

Hoster


Getting Started

Installation

$ npm i source-scraper

There is a package available for each site individually which you can find here.

Usage

const { scrapers } = require('source-scraper');

(async () => {
    const url = 'some url';
    const scraper = scrapers.all.getFirstApplicable(url);
    const scrap = await scraper.scrap(url);
    if (scrap.success)
        console.log(scrap.data);
})();

API

The API generated with TypeDoc can be found here.

About

Simple library which helps you to retrieve the source of various video streaming sites.

License:MIT License


Languages

Language:TypeScript 98.9%Language:JavaScript 0.7%Language:PowerShell 0.4%