title: Use ipython notebook to write a scraper or spider to download a couple of webpages
body: <p>I am new to web scraping. We are asked to use iypthon notebook to write a scraper or spider to download a couple of webpages. This is what we got to in class, but I think there is an additional step I cannot figure out.</p>
  
  <pre><code>%pylab inline
  import urllib
  myUrl="http://www.google.com"
  theSite=urllib.urlopen(myUrl).read()
  import re
  tags=re.findall('''&lt;(.+?)&gt;''',theSite,re.DOTALL)
  print len(tags)
  
  for i in range(100):
      print tags[]
  </code></pre>