added the cursor option to scraper