tt-help-cli-ycl 1.3.31 → 1.3.32

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tt-help-cli-ycl",
3
- "version": "1.3.31",
3
+ "version": "1.3.32",
4
4
  "description": "TikTok user & video data scraper - extract ttSeller, verified, locationCreated from HTML source",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,17 +8,18 @@ ECHO ========================================
8
8
  ECHO tt-help-cli-ycl one-click launcher (Windows CMD)
9
9
  ECHO ========================================
10
10
 
11
- REM ---------- 0. 根据本机 IP 自动选择 server ----------
12
- FOR /F "delims=" %%I IN ('ipconfig ^| findstr /R /C:"172\.18\.154\.[0-9]+"') DO (
11
+ REM ---------- 0. Auto-select server based on local IP ----------
12
+ SET "TARGET_SERVER=http://117.71.53.99:17301"
13
+ SET "LOCAL_IP="
14
+ FOR /F "delims=" %%I IN ('cmd /c "ipconfig ^| findstr /R /C:"172\.18\.154\.[0-9]+""') DO (
13
15
  SET "LOCAL_IP=%%I"
14
16
  SET "TARGET_SERVER=http://172.18.154.201:3001"
15
17
  )
16
18
 
17
19
  IF NOT DEFINED LOCAL_IP (
18
- SET "TARGET_SERVER=http://117.71.53.99:17301"
19
- ECHO [INFO] 未检测到内网 IP,使用公网 server
20
+ ECHO [INFO] No intranet IP detected, using public server
20
21
  ) ELSE (
21
- ECHO [INFO] 检测到内网 IP,使用内网 server
22
+ ECHO [INFO] Intranet IP detected, using intranet server
22
23
  )
23
24
 
24
25
  REM ---------- 1. Check/install latest version ----------
@@ -72,25 +73,25 @@ IF "%CURRENT_SERVER%"=="%TARGET_SERVER%" (
72
73
  ECHO [OK] Server config set
73
74
  )
74
75
 
75
- REM ---------- 3. 询问用户参数 ----------
76
+ REM ---------- 3. Ask user for parameters ----------
76
77
  ECHO.
77
78
  ECHO ========================================
78
- ECHO 参数配置
79
+ ECHO Parameter Configuration
79
80
  ECHO ========================================
80
81
 
81
- SET /P "BASE_PORT=起始端口 (--base-port) [默认: 9222]: "
82
+ SET /P "BASE_PORT=Base port (--base-port) [default: 9222]: "
82
83
  IF "%BASE_PORT%"=="" SET "BASE_PORT=9222"
83
84
 
84
- SET /P "PORT_COUNT=端口数量 (--port-count) [默认: 10]: "
85
+ SET /P "PORT_COUNT=Port count (--port-count) [default: 10]: "
85
86
  IF "%PORT_COUNT%"=="" SET "PORT_COUNT=10"
86
87
 
87
- REM ---------- 4. 启动 tt-help explore ----------
88
+ REM ---------- 4. Start tt-help explore ----------
88
89
  ECHO.
89
90
  ECHO ========================================
90
- ECHO 启动 tt-help explore
91
+ ECHO Starting tt-help explore
91
92
  ECHO ========================================
92
- ECHO 起始端口: %BASE_PORT%
93
- ECHO 端口数量: %PORT_COUNT%
94
- ECHO 速度: stealth (最慢)
93
+ ECHO Base port: %BASE_PORT%
94
+ ECHO Port count: %PORT_COUNT%
95
+ ECHO Speed: stealth (slowest)
95
96
  ECHO ========================================
96
97
  tt-help explore stealth --base-port %BASE_PORT% --port-count %PORT_COUNT%