首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
beautifusouptest
】的更多相关文章
beautifusouptest
from bs4 import BeautifulSoupimport urllib.requesturl = "http://www.douban.com/tag/%E5%B0%8F%E8%AF%B4/?focus=book"res = urllib.request.urlopen(url) soup = BeautifulSoup(res,'lxml')book_div = soup.find(attrs={'id':"book"})book_a = book_…