feat: xAI Grok auto-registration tool
- DrissionPage + Chrome browser automation - Temporary email via mail.tm API - Verification code auto-extraction - Turnstile CAPTCHA bypass via extension - SSO cookie extraction and persistence
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
async function main() {
|
||||
const { connect } = await import('puppeteer-real-browser');
|
||||
|
||||
// not needed anymore cuz library already does it automatically 😉👌
|
||||
//const EXTENSION_PATH = `${__dirname}/turnstilePatch/`;
|
||||
|
||||
const { page, browser } = await connect({
|
||||
/*
|
||||
args: [
|
||||
`--disable-extensions-except=${EXTENSION_PATH}`,
|
||||
`--load-extension=${EXTENSION_PATH}`
|
||||
],
|
||||
*/
|
||||
turnstile: true,
|
||||
});
|
||||
page.goto('https://nopecha.com/demo/cloudflare');
|
||||
}
|
||||
|
||||
main()
|
||||
Reference in New Issue
Block a user