data scraping works for half of pages