tt-help-cli-ycl 1.4.42 → 1.4.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/lib/args.js +4 -0
package/package.json
CHANGED
package/src/lib/args.js
CHANGED
|
@@ -181,6 +181,7 @@ function parseExploreArgs(args) {
|
|
|
181
181
|
let exploreUserId = null;
|
|
182
182
|
let exploreMaxVideos = 16;
|
|
183
183
|
let exploreProxy = null;
|
|
184
|
+
let exploreWebserver = null;
|
|
184
185
|
|
|
185
186
|
const positional = [];
|
|
186
187
|
const PRESETS = ["fast", "normal", "slow", "stealth"];
|
|
@@ -221,6 +222,8 @@ function parseExploreArgs(args) {
|
|
|
221
222
|
exploreMaxVideos = parseInt(args[++i]) || 16;
|
|
222
223
|
} else if (arg === "--proxy") {
|
|
223
224
|
exploreProxy = args[++i];
|
|
225
|
+
} else if (arg === "--webserver") {
|
|
226
|
+
exploreWebserver = args[++i];
|
|
224
227
|
} else {
|
|
225
228
|
positional.push(arg);
|
|
226
229
|
}
|
|
@@ -262,6 +265,7 @@ function parseExploreArgs(args) {
|
|
|
262
265
|
exploreUserId,
|
|
263
266
|
exploreMaxVideos,
|
|
264
267
|
exploreProxy,
|
|
268
|
+
exploreWebserver,
|
|
265
269
|
urls: [],
|
|
266
270
|
outputFormat: "json",
|
|
267
271
|
exploreCount: 0,
|