refactored imdb scraper