github-actions[bot] commited on
Commit
1032a0c
·
1 Parent(s): bff03c8

Update from GitHub Actions

Browse files
Files changed (1) hide show
  1. src/index.ts +1 -0
src/index.ts CHANGED
@@ -252,6 +252,7 @@ app.get('/genspark', async (c) => {
252
  await gensparkPage.waitForTimeout(Math.random() * 200); // 额外随机等待
253
  }
254
  await gensparkPage.fill(inputSelector, '');
 
255
  // 可选:触发搜索/提交
256
  await gensparkPage.keyboard.press('Enter');
257
 
 
252
  await gensparkPage.waitForTimeout(Math.random() * 200); // 额外随机等待
253
  }
254
  await gensparkPage.fill(inputSelector, '');
255
+ await gensparkPage.waitForTimeout(Math.random() * 1500 + 500)
256
  // 可选:触发搜索/提交
257
  await gensparkPage.keyboard.press('Enter');
258