chore: rename scrapper -> scraper

This commit is contained in:
iam4x
2017-11-22 11:16:51 +01:00
parent 398f4ce110
commit d89c0babe8
2 changed files with 9 additions and 9 deletions

View File

@@ -1,17 +1,17 @@
# Youtube Captions Scrapper
# Youtube Captions scraper
> Scrap youtube user defined and auto-generated captions
## Installation
* `> npm install -S youtube-captions-scrapper` OR
* `> yarn add youtube-captions-scrapper`
* `> npm install -S youtube-captions-scraper` OR
* `> yarn add youtube-captions-scraper`
## Usage
```js
// ES6 / TypeScript
import { getSubtitles } from 'youtube-captions-scrapper';
import { getSubtitles } from 'youtube-captions-scraper';
getSubtitles({
videoID: 'XXXXX', // youtube video id
@@ -21,7 +21,7 @@ getSubtitles({
});
// ES5
var getSubtitles = require('youtube-captions-scrapper').getSubtitles;
var getSubtitles = require('youtube-captions-scraper').getSubtitles;
getSubtitles({
videoID: 'XXXXX', // youtube video id