@@ -70,7 +70,7 @@ class CaptchaOptionsSer(BaseModel):
7070
7171class WebsiteDataOptionsSer (TaskSer ):
7272 websiteURL : str = Field (..., description = "Address of a webpage with Captcha" )
73- websiteKey : str = Field (... , description = "Website key" )
73+ websiteKey : Optional [ str ] = Field (None , description = "Website key" )
7474
7575
7676class ReCaptchaV3Ser (WebsiteDataOptionsSer ):
@@ -107,9 +107,11 @@ class FunCaptchaSer(TaskSer):
107107 )
108108
109109
110- class DatadomeSliderOptionsSer ( BaseModel ):
110+ class DatadomeSliderSer ( TaskSer ):
111111 websiteURL : str = Field (..., description = "Address of a webpage with DatadomeSlider" )
112112 captchaUrl : str = Field (..., description = "Captcha Url where is the captcha" )
113+ proxy : str = Field (..., description = "Proxy data" )
114+ userAgent : str = Field (..., description = "Browser's User-Agent which is used in emulation" )
113115
114116
115117class KasadaOptionsSer (BaseModel ):
@@ -120,3 +122,10 @@ class KasadaOptionsSer(BaseModel):
120122 "This isn’t required if you are using proxies authenticated by IP" ,
121123 )
122124 proxyPassword : str = Field (..., description = "This isn’t required if you are using proxies authenticated by IP" )
125+
126+
127+ class CloudflareTurnstileSer (WebsiteDataOptionsSer ):
128+ metadata : dict = Field (..., description = "Extra data" )
129+ html : Optional [str ] = Field (
130+ None , description = "You can pass in the entire html source code for the challenge directly."
131+ )
0 commit comments