新增 Pinterest 参考模式:独立于 Google Trends 的完整链路(12国种子词池 / LLM搜索词json_schema+防重复+已用词限100 / 并发爬图 / 多模态分析→原创简报 / 生图带爬取图参考图生图 / UI流程选择)

This commit is contained in:
2026-08-24 15:02:01 +08:00
parent 2144c36e60
commit 309d4a520c
30 changed files with 2076 additions and 23 deletions
+25
View File
@@ -0,0 +1,25 @@
@echo off
REM 以调试模式打开一个常驻的 Chrome 窗口,供脚本通过 --cdp 接管。
REM 使用项目内 .chrome_session 目录(非默认位置,Chrome 才允许开启远程调试),
REM 登录态会缓存在该目录,首次请手动登录 Pinterest。
setlocal
set SCRIPT_DIR=%~dp0
set UD=%SCRIPT_DIR%.chrome_session\User Data
if not exist "%UD%" mkdir "%UD%"
set CHROME="C:\Program Files\Google\Chrome\Application\chrome.exe"
if not exist %CHROME% set CHROME="%LOCALAPPDATA%\Google\Chrome\Application\chrome.exe"
start "" %CHROME% ^
--user-data-dir="%UD%" ^
--remote-debugging-port=9222 ^
--no-first-run ^
--no-default-browser-check ^
--disable-blink-features=AutomationControlled
echo 已打开调试版 Chrome(监听 9222),保持窗口打开。
echo 若 Pinterest 需要登录,请在此窗口手动登录一次(登录态会缓存在 .chrome_session)。
echo 之后运行:uv run pinterest_image_capture.py "关键词" -n 50 --cdp http://127.0.0.1:9222
pause
endlocal