onegram icon indicating copy to clipboard operation
onegram copied to clipboard

Listing followers stops after 16 accounts

Open JulienMaille opened this issue 6 years ago • 3 comments

for flw in onegram.followers():
    print(flw['username'])

will return

INFO:sessionlib.sessionlib: (xxxxxx) session opened
INFO:onegram.session:(xxxxxx) queries.followers: GET "https://www.instagram.com/graphql/query/"
INFO:onegram.session:(xxxxxx) queries.followers: FETCH 16 :: [16/38] - 42%
---
---
---
INFO:onegram.session:(xxxxxx) queries.followers: WAIT queries 0.88s ...
INFO:onegram.session:(xxxxxx) queries.followers: GET "https://www.instagram.com/graphql/query/"
INFO:onegram.session:(xxxxxx) queries.followers: FETCH 1 :: [17/38] - 45%
---
INFO:onegram.session:(xxxxxx) queries.followers: WAIT queries 0.92s ...
INFO:onegram.session:(xxxxxx) queries.followers: GET "https://www.instagram.com/graphql/query/"
WARNING:onegram.session:(xxxxxx) queries.followers: STOP :: No followers available

JulienMaille avatar May 18 '18 19:05 JulienMaille

Thanks for reporting the issue. You're trying to print your own followers, right?

pauloromeira avatar May 19 '18 01:05 pauloromeira

Yes!

JulienMaille avatar May 19 '18 08:05 JulienMaille

I would like to report a similar issue. I was building my own Instagram scraper using selenium in which you login in with your account so you can see who follows who. And I noticed that after few days while scraping the followers usernames or following usernames of any account I got suddenly limited in the amount of usernames I can see in the modal when I click the following button. Around 24 usernames I can see and scrape now. I think Instagram is actively trying to stop scraping of user data, because my friend tried the scraper for the first time with his account and it worked for him, he could see all the usernames of the followers on Instagram.

lexer21 avatar Aug 22 '18 06:08 lexer21