chore: rename scrapper -> scraper
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "youtube-captions-scrapper",
|
||||
"name": "youtube-captions-scraper",
|
||||
"version": "1.0.0",
|
||||
"description": "Scrap youtube auto-generated captions",
|
||||
"main": "dist/index.js",
|
||||
@@ -9,11 +9,11 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/algolia/youtube-captions-scrapper.git"
|
||||
"url": "https://github.com/algolia/youtube-captions-scraper.git"
|
||||
},
|
||||
"homepage": "https://github.com/algolia/youtube-captions-scrapper",
|
||||
"homepage": "https://github.com/algolia/youtube-captions-scraper",
|
||||
"bugs": {
|
||||
"url": "https://github.com/algolia/youtube-captions-scrapper/issues"
|
||||
"url": "https://github.com/algolia/youtube-captions-scraper/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user