I’m trying to make an iterative crawler for the Google Places API. As anyone who has used their API knows, the response only contains 20 results per page and I’m attempting to get the full list of results so I’ve created an loop which will execute a function if the next_page_token field is present. The most peculiar thing happens because