I've seen this issue before but I couldn't find a solution that worked for the account.
Anyone else experiencing this?
Yes, I am experiencing this too.
@imbarismustafa no go :/
Same issue here, sometimes are 25, sometimes 27, using this:
session.like_by_tags(tags, amount=40, media='Photo')
It is because how InstaPy is scrapping the Instagram - it is first scrolling through it, they once a lot of posts are loaded, InstaPy gets the posts information.
Instagram is now hovewer only displaying 30 posts at once in it's code.
So the solution is to be getting posts info (links) while scrolling.
I will try to imlement this now.
@justdvl that would be nice!
@joanroig I've the same problem :(
@nocomment-bln for now I've set amount=20 and I've increased the number of tags. I need the most accurate amount matching and this seems to do the trick :)
The solution exists already at discussion #1365
Lets hope it will be merged to master version soon.
Should be fixed by #1844
Most helpful comment
It is because how InstaPy is scrapping the Instagram - it is first scrolling through it, they once a lot of posts are loaded, InstaPy gets the posts information.
Instagram is now hovewer only displaying 30 posts at once in it's code.
So the solution is to be getting posts info (links) while scrolling.
I will try to imlement this now.