Refactoring the people scraping