摘要: #再端一碗BeautifulSoup #获取《战争与和平》中的人物名字 from urllib.request import urlopen from bs4 import BeautifulSoup html = urlopen("http://www.pythonscraping.com/pages/warandpeace.html") bsObj = BeautifulSoup(ht... 阅读全文
posted @ 2019-06-25 10:53 红桃6 阅读(286) 评论(0) 推荐(0)