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
|
> Scrap youtube user defined and auto-generated captions
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
* `> npm install -S youtube-captions-scrapper` OR
|
* `> npm install -S youtube-captions-scraper` OR
|
||||||
* `> yarn add youtube-captions-scrapper`
|
* `> yarn add youtube-captions-scraper`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// ES6 / TypeScript
|
// ES6 / TypeScript
|
||||||
import { getSubtitles } from 'youtube-captions-scrapper';
|
import { getSubtitles } from 'youtube-captions-scraper';
|
||||||
|
|
||||||
getSubtitles({
|
getSubtitles({
|
||||||
videoID: 'XXXXX', // youtube video id
|
videoID: 'XXXXX', // youtube video id
|
||||||
@@ -21,7 +21,7 @@ getSubtitles({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// ES5
|
// ES5
|
||||||
var getSubtitles = require('youtube-captions-scrapper').getSubtitles;
|
var getSubtitles = require('youtube-captions-scraper').getSubtitles;
|
||||||
|
|
||||||
getSubtitles({
|
getSubtitles({
|
||||||
videoID: 'XXXXX', // youtube video id
|
videoID: 'XXXXX', // youtube video id
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "youtube-captions-scrapper",
|
"name": "youtube-captions-scraper",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Scrap youtube auto-generated captions",
|
"description": "Scrap youtube auto-generated captions",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
@@ -9,11 +9,11 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"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": {
|
"bugs": {
|
||||||
"url": "https://github.com/algolia/youtube-captions-scrapper/issues"
|
"url": "https://github.com/algolia/youtube-captions-scraper/issues"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user