Skip to content
This repository was archived by the owner on Oct 19, 2019. It is now read-only.

Latest commit

 

History

History

source-scraper

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.