nacimgoura / instagram-profilecrawl

:computer: Quickly crawl the information (e.g. followers, tags, etc...) of an instagram profile. No login required!
MIT License
122 stars 30 forks source link

Is it possible to get location? #7

Closed lty1308 closed 7 years ago

lty1308 commented 7 years ago

Thanks for great tool! I am interested in the location info using API crawl. Are you aware of any tricks on the url to pull location info for each media as well?

lty1308 commented 7 years ago

Actually you can crawl the location info from individual post. All you need is the code for the post.

/p/<code>/?taken-by=<user>&__a=1

I am actually curious what the purpose of __a is and it seems to be a loophole

nacimgoura commented 7 years ago

Hello, I'm currently on vacation and I can't watch. As soon as I get back, I look at it. Thanks you for your feedback!

lty1308 commented 7 years ago

No worries. I have fingered out a way to extract the location. I posted my findings under my question. You can take a look when you get back. Have fun!

Tianyu

On Sat, Aug 12, 2017 at 2:42 AM Nacim Goura notifications@github.com wrote:

Hello, I'm currently on vacation and I can't watch. As soon as I get back, I look at it. Thanks you for your feedback!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nacimgoura/instagram-profilecrawl/issues/7#issuecomment-321969634, or mute the thread https://github.com/notifications/unsubscribe-auth/ADK0sIQgxP_uMhBu1dKHbf77_oTNkk7-ks5sXXODgaJpZM4O022r .

--

Best,

Tianyu

nacimgoura commented 7 years ago

Hello, thank you for the info. You can also retrieve the location using the crawl with selenium.