diff --git a/semanticscholar/PaginatedResults.py b/semanticscholar/PaginatedResults.py index fbbe981..8941899 100644 --- a/semanticscholar/PaginatedResults.py +++ b/semanticscholar/PaginatedResults.py @@ -103,7 +103,7 @@ def __getitem__(self, key: int) -> Any: def _has_next_page(self) -> bool: has_more_results = (self._offset + self._limit) == self._next - under_limit = (self._offset + self._limit) < 9999 + under_limit = (self._offset + self._limit) < 999 return has_more_results and under_limit async def _request_data(self) -> Union[dict, List[dict]]: