mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: use require for proxy-chain
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import { config } from '@/config';
|
||||
import puppeteer from 'puppeteer';
|
||||
import proxyChain from 'proxy-chain';
|
||||
import logger from './logger';
|
||||
import proxy from './proxy';
|
||||
|
||||
const proxyChain = require('proxy-chain');
|
||||
|
||||
import { type PuppeteerExtra, addExtra } from 'puppeteer-extra';
|
||||
import StealthPlugin from 'puppeteer-extra-plugin-stealth';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user