scan websites for content (fast)
<p>I have thousands of websites in a database and I want to search all of the websites for a specific string. What is the fastest way to do it? I think I should get the content of each website first - this would be the way I do it:</p>

<pre><code>import urllib2, re
string = "search string"
source = urllib2.urlopen("http://website1.com").read()
if re.search(word,source):
    print "My search string: "+string
</code></pre>

<p>and search for the string. But this is very slow. How can I accelerate it in python?</p>
