Update server.js
Browse files
server.js
CHANGED
|
@@ -6,7 +6,7 @@ import { chromium } from "playwright";
|
|
| 6 |
import StealthPlugin from 'puppeteer-extra-plugin-stealth';
|
| 7 |
import fetch from 'node-fetch';
|
| 8 |
import { JSDOM } from 'jsdom';
|
| 9 |
-
import LRU from 'lru-cache';
|
| 10 |
|
| 11 |
// --- 1. 初始化 ---
|
| 12 |
chromium.use(StealthPlugin());
|
|
|
|
| 6 |
import StealthPlugin from 'puppeteer-extra-plugin-stealth';
|
| 7 |
import fetch from 'node-fetch';
|
| 8 |
import { JSDOM } from 'jsdom';
|
| 9 |
+
import { LRU } from 'lru-cache';
|
| 10 |
|
| 11 |
// --- 1. 初始化 ---
|
| 12 |
chromium.use(StealthPlugin());
|