Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Adjusted readme and bumped publish version (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
GilgusMaximus authored Jun 17, 2021
1 parent d67cb64 commit 67c11ee
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 75 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Returns a list of objects containing comments from the next page of the video.
- sortByNewest (Boolean) (Optional) - Grabs newest comments when `true`. Grabs top comments when `false`
- continuation (String) (Optional) - The token from a previous call to continue grabbing comments
- setCookie (Boolean) (Optional) - The flag should be set to true when cookies are not handled by your application (e.g. Electron) already
- httpsAgent (Object) (Optional) - Defines Proxy data in an object like https proxy agent. Allows to specify host, port, protocol, authentication
- httpsAgent (Object) (Optional) - Allows to specify all kind of different agent data (see NodeJS [documentation](https://nodejs.org/api/https.html#https_class_https_agent) or 3rd party packages like [node-https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) for options like proxies).
```javascript
import HttpsProxyAgent from 'https-proxy-agent';
const proxy = 'http://127.0.0.1:10003';
const agent = HttpsProxyAgent(proxy);
const https = require('https');
const options = {...};
const agent = new https.Agent(options);
```
```javascript
const payload = {
Expand Down
1 change: 0 additions & 1 deletion commentPageResponse.html

This file was deleted.

68 changes: 0 additions & 68 deletions firstpage.html

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yt-comment-scraper",
"version": "5.0.1",
"version": "5.1.0",
"description": "Scrapes the comments of any YouTube video without YouTube API access. Uses the default YouTube Ajax calls to get the comment data.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 67c11ee

Please sign in to comment.