matthewmueller / x-ray-crawler

Friendly web crawler for x-ray
44 stars 24 forks source link

need special handling for 4xx, 5xx response codes #1

Closed bdentino closed 9 years ago

bdentino commented 9 years ago

superagent treats these responses as node errors, so x-ray thinks something went wrong with the request and errors out. I think this is bad behavior, especially if we're crawling multiple links. One down server will kill the whole scrape.

matthewmueller commented 9 years ago

:heart_eyes: