2009-12-20から1日間の記事一覧

集合知勉強会

やっと、自分の家で写経しながら、crawlerでけた。 やっぱ、selfが面倒。 次は、BeautifulSoupの中身をみてみたい。 import urllib2 from BeautifulSoup import * from urlparse import urljoin class crawler: def addtoindex(self, url, soup): print 'Ind…