Is there anyone familiar with pybloom (bloom filter in python)?

2007-07-08 Thread Xell Zhang
Hello, I found pybloom module from http://www.imperialviolet.org/pybloom.html and tried to use it for my crawler:) I want to use it to store the URLs which have been crawled. But when I insert a URL string I always get a warning and wrong result... My testing code is quite simple: from pybloom i

problem with my urllib.urlopen() function

2007-04-04 Thread Xell Zhang
hello all, I am a newbie in Python. In my module, if I call urllib.urlopen() function like: url = "http://www.google.com/"; source = urllib.urlopen(url) Then in the output there will be an exception: Exception exceptions.AttributeError: "'NoneType' object has no attribute 'print_exc'" in > ignore