mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
17 lines
435 B
Markdown
17 lines
435 B
Markdown
# Pagination Strategy
|
|
|
|
## Stable sequence
|
|
|
|
1. Extract data on current page.
|
|
2. Validate non-empty result.
|
|
3. Advance using intent ("Next page"), not hardcoded selectors.
|
|
4. Stop on explicit condition:
|
|
- no next page,
|
|
- duplicate first row,
|
|
- max page limit reached.
|
|
|
|
## Guardrails
|
|
|
|
- Record page index in output metadata.
|
|
- Deduplicate by a stable key (`id`, `url`, `title+date`).
|
|
- Fail fast if extraction shape changes unexpectedly.
|