...
Set redirection - if the response to the request contains a redirect code (eg response 301, 302), Zennoposter will use the Location header to go to the next page. The numbers indicate the maximum number of clicks: 0 - stay on the original page, 5 - the number of clicks to the final url.
Use original URL
Disable url encoding from the "Main" tab in urlencode.
Example:
Original url: https://ru.wikipedia.org/wiki/
GreetingsGreeting
By default
Default: https://ru.wikipedia.org/wiki/
%D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82%D1%81%D1%82%D0%25 B2% D0% B8% D0% B5%D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82%D1%81%D1%82%D0%B2%D0%B8%D0%B5
Headers
Use
...
default
Default headers will be substituted into the request. This is how they look (for the example of a request to https://httpbin.org/get
, the Host
header will change depending on the URL in the request)
Code Block | ||
---|---|---|
| ||
Host: httpbin.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.5 |
...
The titles from the current project profile will be substituted.
Load from profile
You must select a file or specify a variable containing the path to the profile from which the headers for the request will be loaded.
...
Allows you to specify each request header parameter yourself.
Request headers
Note |
---|
The first line is always (!!!) the string User-Agent! And only then all the other headers. |
Each heading header starts with a new line.
You can specify static values, custom variables, or profile variables.
Cookie
...
You can specify ready-made cookies or from a variable.
Format: name=value
, several are separated by;
(semicolon). Example:
Code Block |
---|
user=1992103;session=f79fcadd847b80f9df78ba4fb276c867;id=889 |
Starting from version 7.1.6.0 (5.45.0.0) this input field is displayed only if the Use CookieContainer Cookie Container setting is disabled (described below).
Use Cookie Container
Cookie Container allows you to synchronize cookies both with the browser and between individual requests, without the need for manual parsing and substitution.
Expand | ||
---|---|---|
| ||
The project works with the site using requests, but you need to be authorized to work. Let's imagine that the authorization process is very complicated, so that it can be repeated on requests, therefore, to enter the site, we use the browser mode. Then we turn off the browser and start working with the site using requests. By enabling the Use Cookie ContainerContainer setting, cookies will be automatically synchronized between the browser and requests, you do not need to do anything manually - cookies will be substituted automatically. |
Example of
...
User Settings
Using profile variables for headers and manual cookie substitution.
...