tt-help-cli-ycl 1.3.61 → 1.3.63
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/cli/explore.js +5 -0
- package/src/cli/refresh.js +437 -163
- package/src/lib/args.js +54 -8
- package/src/lib/browser/cdp.js +11 -5
- package/src/lib/browser/page.js +44 -20
- package/src/lib/constants.js +31 -9
- package/src/main.js +3 -0
- package/src/npm-main.js +3 -0
- package/src/watch/data-store.js +17 -7
- package/src/watch/public/app.js +5 -0
- package/src/watch/public/index.html +1 -0
- package/src/watch/server.js +3 -1
- package/src/scraper/refresh-core.js +0 -213
package/package.json
CHANGED
package/src/cli/explore.js
CHANGED
|
@@ -78,6 +78,7 @@ export async function handleExplore(options) {
|
|
|
78
78
|
explorePortCount,
|
|
79
79
|
exploreUserId,
|
|
80
80
|
exploreMaxVideos,
|
|
81
|
+
exploreProxy,
|
|
81
82
|
} = options;
|
|
82
83
|
|
|
83
84
|
let userId = exploreUserId || configuredUserId;
|
|
@@ -150,6 +151,10 @@ export async function handleExplore(options) {
|
|
|
150
151
|
cdpOptions.userDataDir = currentAccount.userDataDir;
|
|
151
152
|
}
|
|
152
153
|
|
|
154
|
+
if (exploreProxy) {
|
|
155
|
+
cdpOptions.proxyServer = exploreProxy;
|
|
156
|
+
}
|
|
157
|
+
|
|
153
158
|
console.error(`CDP 端口: ${cdpOptions.port}, 用户编号: ${userId}`);
|
|
154
159
|
console.error(`浏览器配置: ${path.basename(cdpOptions.userDataDir)}`);
|
|
155
160
|
if (!explorePort) {
|