making twitter scraper more generic