modify scrape logic