Added functionality to repeat scrape on mulitple pages.