add exception catching block for scraping + parsing

This makes the code more robust. An error message is printed for every
failing URL.