Move scrape behavior to module