SHARE
TWEET

Untitled

a guest Jun 12th, 2013 32 Never
  1. import urllib, urllister
  2. usock = urllib.urlopen("http://diveintopython.net/")
  3. parser = urllister.URLLister()
  4. parser.feed(usock.read())
  5. usock.close()
  6. parser.close()
  7. for url in parser.urls: print(url)
  8.        
  9. Traceback (most recent call last):
  10.   File "demo.py", line 1, in <module>
  11.     import urllib, urllister
  12. ImportError: No module named urllister
RAW Paste Data
Top