How can I make the API works for all the pages of the website which i want to scrape? Unfortunately, when I create the API, it returns only the last page. Without the API, it re