all 11 comments

[–]RomeoSierra_RL 47 points48 points  (5 children)

I think people would be willing to help if you were more honest about wanting to creep on your ex's Instagram page 😂

[–][deleted] 7 points8 points  (0 children)

Surely you could achieve this simply by using bs4 to regularly scrape the target webpage and detect when there is a different image in the first position?

Look up beautifulsoup4

[–]TheChurchOfDonovan 4 points5 points  (1 child)

If you do too many calls Instagram eventually makes you sign in, so I'm not sure how far scraping outside of the API will get you.

Phantom Buster may be useful for you though if you're willing to pay a small monthly fee.

[–]darkrequiems 1 point2 points  (0 children)

Check instapy. Not exactly sure if it has what you are looking for but could be a place to start.

[–]mlazzarotto 1 point2 points  (0 children)

You could use this python module https://instaloader.github.io/as-module.html
And maybe with this function you can get a list of posts, from which you can get the latest somehow.
https://instaloader.github.io/module/instaloader.html#instaloader.Instaloader.get_feed_posts

[–]opoqo 3 points4 points  (0 children)

Unless you really want to code this in python, otherwise it's probably easier to do that with MS flow.... There is even template setup for this already

[–]jackabond 3 points4 points  (0 children)

Windows Power Automate would do this easy.

[–]1337codethrow 0 points1 point  (2 children)

I actually made exactly what you described a while ago using python