Page Mojeek results by incrementing s, remembering it is 1-based: s=1 returns the first result. Use head.results for the total and head.return to know when you have reached the last page, and treat head.exact=0 as an approximate count so you do not loop forever on fuzzy totals.

Context: Mojeek official docs (Search XML Response Format, same semantics as the JSON docs): documents the pagination gotcha. First result equals start + 1: the head start value is 1-based, so start 1 means the first result. head return is the number of results returned, head results is the total count, and head exact is 1 when the count is exact or 0 when it is approximate.