Data Collection Proxy Jobs with Opaque Pagination Cursors
A continuation cursor can look like an encoded record number without being one. Treating it as a value the collector can edit may skip or repeat data. When using Go2Proxy data collection for an approved paginated source, follow the source's documented continuation contract. A successful next request is useful only if it advances the intended observation and preserves the conditions attached to that pagination sequence.

Treat the cursor as source-controlled state
Preserve the returned token in the representation required by the source and pass it through the supported request interface. Do not infer its internal meaning from a visual pattern or attempt to manufacture later tokens.
Record which task, query and visitor condition the cursor belongs to. A token returned for one filter set or session may not describe another. Keep those relationships explicit before storing continuation state for a worker to resume later.
Validate page identity and progress
Check the returned page or record identities as well as the presence of another token. A source or client error can repeatedly return the same accepted-looking page and continuation value.
The scraped-data validation guide provides the wider acceptance framework for identity and duplicate records. Use those checks to distinguish a legitimate repeated entity from a pagination loop and to prevent a growing request count from being mistaken for advancing dataset coverage.
Define the stopping conditions
Follow the documented end-of-collection signal and keep independent time, page and attempt bounds. The absence of a token can mean completion under one contract, but it should not automatically override an invalid response or failed parse.
Preserve incomplete coverage explicitly when a token expires or the source stops providing a usable continuation. Do not label the task complete simply because the collector has no valid next request it knows how to build.
Exercise a controlled cursor sequence
Use an owned fixture with several pages, opaque tokens and recognizable record identifiers. Verify ordinary completion, a deliberately repeated token and an invalid intermediate response.
Then resume through the actual queued-worker path. The test should establish that serialization preserves the exact token and associated query state. A cursor that survives an in-memory test may still be altered when placed in a job payload or reconstructed as a URL.
Release a dataset with honest coverage
Report accepted records, completed page units and the stopping reason separately. Keep duplicate handling and source changes visible if the source can change during the collection window.
For a failed continuation, use the supported restart or resume policy and reconcile existing accepted records deliberately. Guessing a replacement cursor can produce plausible output while concealing an unmeasured gap. A reviewable partial dataset is preferable to an unsupported completeness claim.
Frequently asked questions
Can an opaque cursor be edited to skip ahead?
Do not assume that. Treat it according to the source contract rather than inferring an internal index from its appearance.
Does a missing next token always prove completion?
Only when a valid response satisfies the documented completion rule. Parsing errors and invalid intermediate pages need separate outcomes.
Should every repeated record end the crawl?
Not necessarily. Repeated entities and repeated page state are different signals. Use source-aware identity checks and explicit loop bounds.
Before the next run
Retain completion, loop and invalid-page cursor fixtures through the queued-worker path, and keep the final stopping reason with the dataset.



