Knowledge Pills
Can I Get Cookies from the Responses?
Headers, including cookies, returned by the target website are prefixed with Zr- and included in all our responses.
Suppose you are scraping a website that requires session cookies for authentication. By capturing the Zr-Cookies header from the initial response, you can include these cookies in your subsequent requests to maintain the session and access authenticated content.
Zr-Content-Encoding: gzip
Zr-Content-Type: text/html
Zr-Cookies: _pxhd=Bq7P4CRaW1B...
Zr-Final-Url: https://www.example.com/
You could send those cookies in a subsequent request as Custom Headers and also use session_id to keep the same IP for up to 10 minutes.
By following this process, you can handle sessions and access restricted areas of the website seamlessly.