I have a script which send requests to social media site by doing following:
It first scrapes the friends of the account inserted. It then continues to scrape all friends of the accounts found forever (Similar to how search engine crawlers work). Add them to a consumer queue which then adds them as a friend or send them a message. All this in 10-30 threads. I am currently using Queue and it is not checking if the accounts it finds were duplicate of previously found account. That is my problem. Before changing the source code of Queue module. Is there any similar module with duplicate filtering built in.