Request npm: Handling Redirects
问题 I was wondering if anyone knew how to handle redirects with the Request npm from sites such as bitly or tribal or Twitter's t.co URLs. For example, if I have web page that I want to scrape with the Request npm and the link I have to get to that page is a bity or shortened URL that is going to redirect me, how do I handle those redirects? I found that the Request npm has a "followRedirect" options set to true by default. If I set that to false I can get the next link that the page will