Module Values_1.WebCrawlerParametersSource

The parameters for a web crawler data source.

Sourcetype nonrec t = {
  1. webCrawlerAuthType : WebCrawlerAuthType.t;
    (*

    The authentication type for the web crawler. The type can be one of the following: NO_AUTH: No authentication required. BASIC_AUTH: Basic authentication using username and password. SAML: SAML-based authentication. FORM: Form-based authentication.

    *)
  2. usernameFieldXpath : XpathFields.t option;
    (*

    The XPath expression for locating the username field on the login page.

    *)
  3. passwordFieldXpath : XpathFields.t option;
    (*

    The XPath expression for locating the password field on the login page.

    *)
  4. usernameButtonXpath : XpathFields.t option;
    (*

    The XPath expression for locating the username submit button on the login page.

    *)
  5. passwordButtonXpath : XpathFields.t option;
    (*

    The XPath expression for locating the password submit button on the login page.

    *)
  6. loginPageUrl : SiteBaseUrl.t option;
    (*

    The URL of the login page for the web crawler to authenticate.

    *)
  7. webProxyHostName : Host.t option;
    (*

    The hostname of the web proxy server for the web crawler.

    *)
  8. webProxyPortNumber : OptionalPort.t option;
    (*

    The port number of the web proxy server for the web crawler.

    *)
}
Sourceval context_ : string
Sourceval make : ?usernameFieldXpath:??? -> ?passwordFieldXpath:??? -> ?usernameButtonXpath:??? -> ?passwordButtonXpath:??? -> ?loginPageUrl:??? -> ?webProxyHostName:??? -> ?webProxyPortNumber:??? -> webCrawlerAuthType:WebCrawlerAuthType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of OptionalPort.t | `String of XpathFields.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t