摘要: # 本节内容: # 解析复杂的 HTML网页: # 1--bs.find() bs.find_all() tag.get_text() # find_all(tag/tag_list,attributes_dict,recursive,text,limit,keywords) # find(tag/ 阅读全文
posted @ 2020-06-22 20:35 collin_pxy 阅读(197) 评论(0) 推荐(0) 编辑
摘要: # 1: BeautifulSoup的基本使用: import requests from bs4 import BeautifulSoup html=requests.get('https://www.pythonscraping.com/pages/page1.html') bs=Beautif 阅读全文
posted @ 2020-06-22 14:49 collin_pxy 阅读(161) 评论(0) 推荐(0) 编辑