Skip to content

Commit 5e3bba3

Browse files
authored
Replace deprecated serpapi_pagination.next_link with next
Ref: serpapi/SerpApi#1656
1 parent fbb4011 commit 5e3bba3

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)