commit
e0b6265aa5
@ -31,7 +31,7 @@ module.exports = class CaptchaSolver {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
case 'nopecha': {
|
case 'nopecha': {
|
||||||
if (!key || typeof key !== 'string') throw new Error('2captcha key is not provided');
|
if (!key || typeof key !== 'string') throw new Error('Nopecha key is not provided');
|
||||||
try {
|
try {
|
||||||
const { Configuration, NopeCHAApi } = require('nopecha');
|
const { Configuration, NopeCHAApi } = require('nopecha');
|
||||||
const configuration = new Configuration({
|
const configuration = new Configuration({
|
||||||
|
Loading…
Reference in New Issue
Block a user