scrape method works in console