This commit is contained in:
张成
2026-03-18 16:40:09 +08:00
parent 6d75720a89
commit 7b42ee8ef5
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ function pick_asin_from_url(url) {
return m && m[1] ? m[1].toUpperCase() : null;
}
export async function persist_amazon_result(result) {
export async function persist_amazon_result({ result }) {
if (!result || !result.stage) {
return;
}

View File

@@ -1,7 +1,7 @@
import fs from 'node:fs';
import path from 'node:path';
import puppeteer from 'puppeteer';
import { get_app_config } from '../config/app_config.js';
import { get_app_config } from '../../config/app_config.js';
import { apply_page_stealth_defaults, get_stealth_puppeteer } from './puppeteer_stealth.js';
let browser_singleton = null;