Scrapy – Pagination without next page (Python)

I'm trying to scrape the following page

I can't figure out how to define a rule for navigate into the pagination, because this page doesn't have a next button.

Code

rules = (
    Rule(LinkExtractor(
        allow=(), restrict_xpaths='')),
)


Read more here: https://stackoverflow.com/questions/64129659/scrapy-pagination-without-next-page-python

Content Attribution

This content was originally published by Nai at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: