ytsearcher
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -123,3 +123,3 @@ 'use strict'; | ||
try{ | ||
res( await this.search(Object.assign({}, newOptions||this.options, {nextPageToken: this.nextPageToken})) ); | ||
res( await this.search(Object.assign({}, newOptions||this.options, {pageToken: this.nextPageToken})) ); | ||
}catch(err){ | ||
@@ -146,3 +146,3 @@ rej(err); | ||
try{ | ||
res( await this.search(Object.assign({}, newOptions||this.options, {nextPageToken: this.prevPageToken})) ); | ||
res( await this.search(Object.assign({}, newOptions||this.options, {pageToken: this.prevPageToken})) ); | ||
}catch(err){ | ||
@@ -149,0 +149,0 @@ rej(err); |
{ | ||
"name": "ytsearcher", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A nodejs package that provides an easy-to-use promise-based system of getting youtube search results", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -36,4 +36,9 @@ # YTSearcher | ||
// A YTSearch has a built in page flipper. | ||
result.nextPage(); | ||
result.prevPage(); | ||
The Search Query can be anything, including a youtube link itself. | ||
Full docs are available here: [http://ytsearcher.willyz.cf](https://ytsearcher.willyz.cf) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44
1078358
43
920