kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: prettier; re-add delay
rodzic
bc2d41e94f
commit
92c0699a21
|
@ -57,7 +57,7 @@ export class ChatGPTAPIBrowser extends AChatGPTAPI {
|
||||||
|
|
||||||
/** @defaultValue `undefined` **/
|
/** @defaultValue `undefined` **/
|
||||||
captchaToken?: string
|
captchaToken?: string
|
||||||
|
|
||||||
/** @defaultValue `undefined` **/
|
/** @defaultValue `undefined` **/
|
||||||
nopechaKey?: string
|
nopechaKey?: string
|
||||||
|
|
||||||
|
|
|
@ -167,6 +167,7 @@ export async function getOpenAIAuth({
|
||||||
} else {
|
} else {
|
||||||
await page.waitForSelector('#username')
|
await page.waitForSelector('#username')
|
||||||
await page.type('#username', email)
|
await page.type('#username', email)
|
||||||
|
await delay(100)
|
||||||
|
|
||||||
// NOTE: this is where you may encounter a CAPTCHA
|
// NOTE: this is where you may encounter a CAPTCHA
|
||||||
if (hasNopechaExtension) {
|
if (hasNopechaExtension) {
|
||||||
|
|
Ładowanie…
Reference in New Issue