Skip to content

Commit 5bdd865

Browse files
author
Kenneth Reitz
authored
Merge pull request #8 from serpapi/serpapi-pagination-next-link-to-next
Replace deprecated `serpapi_pagination.next_link` with `next`
2 parents fbb4011 + 5e3bba3 commit 5bdd865

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

serpapi/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def next_page_url(self):
5151
serpapi_pagination = self.data.get("serpapi_pagination")
5252

5353
if serpapi_pagination:
54-
return serpapi_pagination.get("next_link")
54+
return serpapi_pagination.get("next")
5555

5656
def next_page(self):
5757
"""Return the next page of results, if any."""

0 commit comments

Comments
 (0)