adds some more error checking to yahoo_scrape.py