1👍
✅
There’s a typo in your script: The line people = pagination.page('page')
should be people = pagination.page(page)
. The clue from the error message is that it’s expecting a Page
object, and whatever it got didn’t seem to act like one.
Source:stackexchange.com