scrape max number of pages