Web Scraping with Pagination and Advanced Selectors

Share this video with your friends

Send Tweet

When web scraping, you'll often want to get more than just one page of data. Xray supports pagination by finding the "next" or "more" button on each page and cycling through each new page until it can no longer find that link. This lesson demonstrates how to paginate as well as more advanced selectors for when links are difficult to scrape.

Jim
Jim
~ 9 years ago

Could you please give an example of how to use Composition and pagination to another site? I cant get the documented feature to work: https://www.npmjs.com/package/x-ray#paginating-to-another-site