Jump to content
UBot Underground

Remove all but duplcates from a list


Recommended Posts

Hello everyone I need a little help with something, I am trying to code a bot that will unfollow users that don't follow back. The way that I am trying to code this is to scrap the list of following users and save them to a list, then go to the followers page and scrape them into the same list with out deleting duplicate. What I am trying to figure out, is there a way to only remove all but duplicates from the list then save the list and then remove the duplicates from the list that was left, then I would have to go back and scrape the original following page into the same list and then remove the duplicate entry’s. Then I believe that I would have a list of users that don't follow back. is this how it's done, or is there a better way. Sorry if it's a little confusing.

  • Like 1
Link to post
Share on other sites

If user not on list 2 add to list 3 and unfollow

 

 

Thank you for your replay, I think I understand but, could you elaborate some on what you mean.

  • Like 1
Link to post
Share on other sites

Under "Parameters" use the "Data Function"  and the "$common list items".  This may help you as it creates a new list with items that are in both lists.

  • Like 1
Link to post
Share on other sites

Under "Parameters" use the "Data Function"  and the "$common list items".  This may help you as it creates a new list with items that are in both lists.

 

 

Thank you for your replay, I am still not quite sure how to do this successfully. If anyone else has any input, I would be most thankful.

  • Like 1
Link to post
Share on other sites

http://www.ubotstudio.com/forum/index.php?/topic/13330-scraping-url-from-text/&do=findComment&comment=73889

 

Check this thread out and see if this is something that may be useful to your project.  It uses 2 lists to create a third list that has common items (duplicates).

  • Like 1
Link to post
Share on other sites

Thanks for everyone's help, I think that I have it now. here is the answer if any one want to know how it was accomplished http://www.ubotstudio.com/forum/index.php?/topic/13873-script-to-unfollow-users-that-do-not-follow-back/

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...