From a941897c1095a2627299ffa0355b9bed095f3c1a Mon Sep 17 00:00:00 2001 From: Andrei Date: Sun, 5 Jan 2025 20:55:08 +0300 Subject: [PATCH] Update binance.py --- src/python3_capsolver/binance.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/python3_capsolver/binance.py b/src/python3_capsolver/binance.py index e0d45a8..9e68aae 100644 --- a/src/python3_capsolver/binance.py +++ b/src/python3_capsolver/binance.py @@ -1,10 +1,11 @@ from typing import Union +from python3_capsolver.core.base import CaptchaParams from .core.enum import BinanceCaptchaTaskEnm from .core.serializer import CaptchaResponseSer, BinanceCaptchaTaskSer -class Binance(BaseCaptcha): +class Binance(CaptchaParams): """ The class is used to work with Capsolver Imperva method. @@ -66,9 +67,9 @@ class Binance(BaseCaptcha): def __init__( self, - captcha_type: Union[BinanceCaptchaTaskEnm, str], websiteURL: str, validateId: str, + captcha_type: Union[BinanceCaptchaTaskEnm, str] = BinanceCaptchaTaskEnm.BinanceCaptchaTask, websiteKey: str = "login", *args, **kwargs,