cleaned up scraper.py file