sborod / ruby-instagram-scraper

А simple module for requests to Instagram without an API key.
MIT License
39 stars 29 forks source link

page params for pagination #4

Open harisadam opened 8 years ago

harisadam commented 8 years ago

Hi @sborod

I think including page parameters to the get_tag_media_nodes method's response would be a great feature.

I've implemented this feature to my fork: https://github.com/harisadam/ruby-instagram-scraper/commit/acc6f1f97cff420aaf43a920c440fd3168fd45da

basically it returns a hash - instead of Array - with 2 keys: nodes and page

let me know what you think, hope it is not against you concept