Update scraper.js

Only parse body when there is response. Don't do anything before you've checked if there is an error