Files
admin9webs f5720ad613 店小秘多平台铺货配方:7 平台建品脚本 + 静默拦截诊断法 + 项目状态
- TikTok/Shopee/速卖通/Walmart 各 46-47 条已在待发布
- Ozon 47 条已建、改价 40/47
- SHEIN 配方跑通第一条;Temu 差「预览图」一步
- 核心产出:MYJ.message.error 钩子诊断法(解开了三个平台的保存静默拦截)
- 含下一轮提示词 NEXT-ROUND-PROMPT.md
2026-09-20 17:29:38 +08:00

19 lines
1.0 KiB
JavaScript

import { CDP, SAN } from '/tmp/cdp3.mjs';
const list=await (await fetch('http://127.0.0.1:9223/json/list')).json();
const t=list.find(x=>x.type==='page'&&/dianxiaomi/.test(x.url));
if(!t){console.log(' ❌');process.exit(0);}
const c=await CDP.connect(t.webSocketDebuggerUrl);
await c.send('Runtime.enable');
const r=await c.evalJS(`(async()=>{
const j=await (await fetch('/api/userIn.json',{headers:{'X-Requested-With':'XMLHttpRequest'}})).json();
const sm=(j.data||{}).shopMap||{};
const rows=Object.keys(sm).map(k=>({id:k, name:String(sm[k].name||''), plat:String(sm[k].platform||sm[k].site||'')}));
const target=rows.find(x=>x.id==='4248777');
return JSON.stringify({n:rows.length, target, yejet:rows.filter(x=>/yejet/i.test(x.name)).slice(0,8)});})()`, true);
const d=JSON.parse(r);
console.log(' shopMap 共', d.n, '个店铺');
console.log(' ══ shopId=4248777 是 ══');
console.log(' ', SAN(JSON.stringify(d.target)).slice(0,220));
console.log('\n 名称含 yejet 的店铺:', SAN(JSON.stringify(d.yejet)).slice(0,300));
c.close();