This is a question relating to my previous post. How do you kill the request if you know the page you are requesting is redirecting to another page? I only want to access pages that are not redirecting. The reason is that some addresses on my address list redirect to another address and node js keeps crashing with "getaddrinfo ENOTFOUND" error at those pages.