Skip to content

Pagination

Cycle through multiple pages by appending ?page=N to the URL. The page counter persists across runs while the process stays alive.

name = "Paginated Listings"
url = "https://example-listings.com/search"
selector = ".listing-item"
interval = 120
fields = [
"title:h3",
"price:.price",
"link:a@href",
]
  • Lua globals (page) persist across runs while the process stays alive
  • Use store_set instead if you want the cursor to survive hot-reload
  • filter_item replaces the built-in keyword filter entirely
  • before_notify runs after items are stored, so it only affects notifications