extend scraper visitors with onExit callback