UNPKG

openload-scraper

Version:
38 lines (26 loc) 1.52 kB
# Openload Scraper [![Build Status](https://travis-ci.org/OpenByteDev/SourceScraper.svg?branch=master)](https://travis-ci.org/OpenByteDev/SourceScraper) [![npm version](https://badge.fury.io/js/openload-scraper.svg)](https://www.npmjs.com/package/openload-scraper) [![Dependency Status](https://david-dm.org/OpenByteDev/SourceScraper/status.svg?path=packages%2Fopenload-scraper)](https://david-dm.org/OpenByteDev/SourceScraper?path=packages%2Fopenload-scraper) [![DevDependency Status](https://david-dm.org/OpenByteDev/SourceScraper/dev-status.svg?path=packages%2Fopenload-scraper)](https://david-dm.org/OpenByteDev/SourceScraper?path=packages%2Fopenload-scraper&type=dev) [![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/MIT) [![Doge](https://img.shields.io/badge/doge-wow-yellow.svg)]() A scraper for [Openload](https://oload.tv/). This package is part of the [SourceScraper-Project](https://github.com/OpenByteDev/SourceScraper). ## Getting Started ### Installation ```bash $ npm i openload-scraper ``` ### Usage ```js const { OpenloadScraper } = require('openload-scraper'); (async () => { const url = 'some url'; const scrap = await new OpenloadScraper().scrap(url); if (scrap.success) console.log(scrap.data.sources); })(); ``` ### API The API generated with [TypeDoc](http://typedoc.org/) can be found [here](https://openbytedev.github.io/SourceScraper/packages/openload-scraper/docs/).