摘要: 1、扒取网页 req = requests.get(url = target) html = req.text bf = BeautifulSoup(html,'html.parser') texts = bf.find_all('a') print(texts) 2、输出结果 3、F12查看原页面 阅读全文
posted @ 2022-05-30 16:25 方寸堂 阅读(514) 评论(0) 推荐(0) 编辑