I'm trying to get data from a weather webiste (www.metoffice.gov.uk) but I keep getting 302 responses. The location for the redirect is the same as the original GET.
Is this just a mechanism to stop web scraping or am I doing something incorrectly?
My GET command is:
GET /public/weather/forecast/gbyrvp258 HTTP/1.1 Host: www.metoffice.gov.uk Connection: close
And the response is:
HTTP/1.1 302 Moved Temporarily Server: AkamaiGHost Content-Length: 0 Location: https://www.metoffice.gov.uk/public/weather/forecast/gbyrvp258 Cache-Control: max-age=0 Expires: Sun, 01 Oct 2017 10:28:52 GMT Date: Sun, 01 Oct 2017 10:28:52 GMT Connection: close