1
This commit is contained in:
@@ -15,7 +15,7 @@ function pick_asin_from_url(url) {
|
|||||||
return m && m[1] ? m[1].toUpperCase() : null;
|
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) {
|
if (!result || !result.stage) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import fs from 'node:fs';
|
import fs from 'node:fs';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import puppeteer from 'puppeteer';
|
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';
|
import { apply_page_stealth_defaults, get_stealth_puppeteer } from './puppeteer_stealth.js';
|
||||||
|
|
||||||
let browser_singleton = null;
|
let browser_singleton = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user