Request Options
Request Options
All of the available options already have reasonable defaults to make the use of skrape{it} as easy and intuitive as possible.
Option | Description | Type | Default |
url | The URL that is used to fetch and parse a web page. The protocol must be | String |
|
method | HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. Although they can also be nouns, these request methods are sometimes referred as HTTP verbs. | Method |
|
userAgent | The User-Agent request header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent. | String |
|
headers | Request headers containing more information about the resource to be fetched or about the client itself. | Map<String, String> | no additional custom headers will be sent by default |
cookies | Will add Cookies to your request | Map<String, String> | will send no Cookies by default |
timeout | Sets the total request timeout duration. A timeout of zero ( | Int |
|
followRedirects | Configures the connection to (not) follow server redirects. | Boolean |
|
sslRelaxed | Allow HTTPS connections with broken or self-signed certificates | Boolean |
|
Last updated