python SUDS library

2010-03-03 Thread yamamoto
orrage" Prefixes (0) Ports (1): (CachePort) Methods (1): cacheTorrent(xs:string torrent, ) Types (0): Traceback (most recent call last): File "C:\Documents and Settings\yamamoto\workspace\python\console \extract.py", line 13, in result =

BeautifulSoup

2010-01-13 Thread yamamoto
Hi, I am new to Python. I'd like to extract "a" tag from a website by using "beautifulsoup" module. but it doesnt work! //sample.py from BeautifulSoup import BeautifulSoup as bs import urllib url="http://www.d-addicts.com/forum/torrents.php"; doc=urllib.urlopen(url).read() soup=bs(doc) result=sou