Jump to content
UBot Underground

Instagram "liker" Bot - How To Scrape A List?


Recommended Posts

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:

  1. Search through the posts shown on my Instagram homepage, and for the first 15 items IF {less than 500 likes / views} THEN
  2. Click the heart (like) button AND
  3. Comment on the post

I’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”

 

post-263-0-77871900-1564761898_thumb.png

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...