HTTP 301 redirect error means that, the URL we are using in our scraping agent input is old or expired. And the web server is permanently redirecting to another URL. The server returns the response code as
301 and message
301 Moved Permanently to tell the clients to immediately retry the alternate URL.
We can configure our scraping agent, by enabling the auto redirect option. And can, also set the maximum redirects value in number to tell Agenty, if redirect should be followed and how many times (if yes).
- Edit the scraping agent
- Advance options
- Go to Auto Redirect Handling section
- Switch on the Enable auto redirect option
- Set the maximum redirect value,
by default : 3
The Auto-redirect option is by default enabled in all newly created scraping agents after July, 2018