devusman commited on
Commit
0f0b365
·
1 Parent(s): a97d9e6

captacha solver

Browse files
Files changed (1) hide show
  1. server.js +5 -5
server.js CHANGED
@@ -12,11 +12,11 @@ const path = require('path');
12
  // --- NEW: Configuration for the Solver ---
13
  // You can optionally provide a 2Captcha API key to solve more complex captchas,
14
  // but it's often not needed for the initial Cloudflare JS challenge.
15
- // puppeteerExtra.use(
16
- // RecaptchaPlugin({
17
- // provider: { id: '2captcha', token: 'YOUR_2CAPTCHA_API_KEY' }
18
- // })
19
- // );
20
  puppeteerExtra.use(StealthPlugin());
21
 
22
 
 
12
  // --- NEW: Configuration for the Solver ---
13
  // You can optionally provide a 2Captcha API key to solve more complex captchas,
14
  // but it's often not needed for the initial Cloudflare JS challenge.
15
+ puppeteerExtra.use(
16
+ RecaptchaPlugin({
17
+ provider: { id: '2captcha', token: 'cc4f0d688032c69ecf359cccdabbacb9' }
18
+ })
19
+ );
20
  puppeteerExtra.use(StealthPlugin());
21
 
22