Shawn Lu il y a 1 an
Parent
commit
35ff66f79b
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/faucet/faucet.ts

+ 2 - 2
src/faucet/faucet.ts

@@ -1,5 +1,5 @@
 import {
-  forEachAsync,
+  forEachAsync, generate2CaptchaProxyAgent,
   generateRandomString,
   getAxiosClient,
   getProxyAgent,
@@ -95,7 +95,7 @@ async function faucetLunch(concurrency: number = 8) {
               'lunch-fiat-currency': 'USD',
               'lunch-app-duid': account.duid,
             },
-            httpsAgent: getProxyAgent(),
+            httpsAgent: generate2CaptchaProxyAgent(),
           })
           const resp = await client.post(
             'https://api.lunchlunch.xyz/v1/auth/sign-in',