pub struct DataDomeMetadata {
pub captcha_url: String,
pub datadome_cookie: String,
pub datadome_version: Option<DataDomeVersion>,
}Expand description
DataDome-specific challenge data. All values are dynamic: extract them right before creating the task.
Fields§
§captcha_url: StringCAPTCHA URL with the latest dynamic parameters, usually
https://geo.captcha-delivery.com/captcha/?initialCid=...&hash=...&cid=...&t=fe&referer=...&s=....
Submit it only if its t parameter is fe (t=bv means the proxy was blocked).
Your DataDome cookies (datadome=...).
datadome_version: Option<DataDomeVersion>Solving method version. When absent the legacy method (only i.js) is used.
Implementations§
Source§impl DataDomeMetadata
impl DataDomeMetadata
pub fn new( captcha_url: impl Into<String>, datadome_cookie: impl Into<String>, ) -> Self
pub fn with_datadome_version(self, value: DataDomeVersion) -> Self
Trait Implementations§
Source§impl Clone for DataDomeMetadata
impl Clone for DataDomeMetadata
Source§impl Debug for DataDomeMetadata
impl Debug for DataDomeMetadata
Auto Trait Implementations§
impl Freeze for DataDomeMetadata
impl RefUnwindSafe for DataDomeMetadata
impl Send for DataDomeMetadata
impl Sync for DataDomeMetadata
impl Unpin for DataDomeMetadata
impl UnsafeUnpin for DataDomeMetadata
impl UnwindSafe for DataDomeMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more