I\'m writing a simple crawler in Python using the threading and Queue modules. I fetch a page, check links and put them into a queue, when a certain thread has finished proc
use:
url in q.queue
which returns True iff url is in the queue
url