M
M
Mark Adams2016-04-20 19:16:52
Python
Mark Adams, 2016-04-20 19:16:52

How to implement recursive connection by links?

I use a request from the Instagram API (Search for photos by tag): https://api.instagram.com/v1/tags/bouquet/media/recent
The response structure is: {"pagination":data, "meta":data, "data ":data}
"pagination" has "next_url", i.e. the next page.
How to recursively collect all "next_url" from each page?
Is it possible to do it through while (until an exception is encountered) ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mark Adams, 2016-04-20
@ilyakmet

API closed.... ain.ua/2015/11/18/616440

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question