擅长:python、mysql、java
<pre><code>from BeautifulSoup import BeautifulSoup
soup = BeautifulSoup(urllib.open(url).read())
#findAll should get multiple parsed result
result = soup.findAll(something)
#then iterate result
for line in result:
#get str value from each line,replace charset with utf-8 or other charset you need
print line.__str__('charset')
</code></pre>
<p>顺便说一句:美组的版本是美组-3.2.1</p>