ugakebet 4 Posted August 2, 2019 Report Share Posted August 2, 2019 Hi team,I’m creating a rather simple Instagram bot, but am getting a bit stuck, with the below queries.What I’d like to do is:Search through the posts shown on my Instagram homepage, and for the first 15 items IF {less than 500 likes / views} THEN Click the heart (like) button AND Comment on the postI’m not quite sure on how to scrape the “class” attributes of Instagram to create a list and then cycle through them. For instance, from the below image, each post has a class called “article”, but is there a way I can tell uBot to start with the first “class article” then see if the likes/views < 500 so click the heart photo & type a comment ELSE IF > 500 then skip. Post that move onto the 2nd “class article” then the 3rd “class article” … until the 15th “class article” Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.