Module pagination

Module pagination 

Source
Expand description

Pagination detection for halldyll-parser

This module handles:

  • rel=“next”/rel=“prev” link detection
  • Pagination URL patterns
  • Page number extraction
  • Infinite scroll detection
  • Load more button detection

Structs§

PageUrl
A page URL with its page number
Pagination
Pagination information for a page

Enums§

PaginationType
Type of pagination detected

Functions§

extract_page_number_from_url
Extract page number from URL
extract_pagination
Extract pagination information from HTML document
generate_page_url
Generate pagination URL for a specific page number
get_next_page
Get next page URL if exists
get_prev_page
Get previous page URL if exists
has_pagination
Check if document has pagination