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

Latest commit

 

History

History
59 lines (48 loc) · 3.82 KB

README.md

File metadata and controls

59 lines (48 loc) · 3.82 KB

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.