Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pagination using next page selector #17

Open
sathish316 opened this issue Jun 28, 2012 · 0 comments
Open

pagination using next page selector #17

sathish316 opened this issue Jun 28, 2012 · 0 comments

Comments

@sathish316
Copy link
Owner

All paginated content have some way of moving to next page.

Get extra selector to fetch next page and crawl till last page is reached

Example:

class Book
  include Scrapify::Base
  html "http://www.bookstore.com/fiction/1", next_page: {css: ".pages .next_page"}, last_page: {css: ".pages .last_page"}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant