Seems to be the best way to be more resilient against HTTP errors

- For example, if the requested URL is 404, the app continues trying to
  parse it, and then the app crashes.
Merge pull request #3 from mathias/handle_error_urls

Be more resilient against HTTP errors