mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-08 17:09:07 +08:00
add script for launch browser with preload extensions with puppeteer, so that can lead user copy cookie manually.
This commit is contained in:
@@ -44,6 +44,11 @@ export async function initPuppeteer () {
|
||||
StealthPlugin = importResult[1].default
|
||||
}
|
||||
puppeteer.use(StealthPlugin())
|
||||
|
||||
return {
|
||||
puppeteer,
|
||||
StealthPlugin
|
||||
}
|
||||
}
|
||||
|
||||
const bossCookies = readStorageFile('boss-cookie.json')
|
||||
|
||||
Reference in New Issue
Block a user