Cleaned up code for scraping news