oto-scraper

0.5.1-alpha-4 • Public • Published

oto-scraper

oto-scraper is a simple and easy to use multi-content scraper, meaning it comes with a set of tools to get information from many preferred webpages. Unfortunately, at the moment only the YouTube search engine is available.

Principal Tools

  • .youtube_search() This function does a detailed search on YouTube channels, videos, lives, playlists, and movies, and returns an object on arrays of the result.

Instalación

To install, open your command line and run the following command with npm:

npm install oto-scraper --save 

If use yarn follow this command:

yarn add oto-scraper

Use

Once installed oto-scraper, you can follow this small example in your code:

//type = "commonjs".
const Scraper = require('oto-scraper');
//type = "module";
import Scraper from 'oto-scraper';


let scraper = new Scraper();

let data = await scraper.youtube_search("how to read lines?", {language: "es"});
console.log(data)

Package Sidebar

Install

npm i oto-scraper

Weekly Downloads

0

Version

0.5.1-alpha-4

License

ISC

Unpacked Size

10.6 kB

Total Files

9

Last publish

Collaborators

  • 6otosaka9