npm.io
1.2.14 • Published 7 years ago

source-scraper

Licence
MIT
Version
1.2.14
Deps
20
Size
20 kB
Vulns
0
Weekly
0
Stars
71

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.

Keywords