Python爬蟲(BeautifulSoup)實戰:抓取豆瓣讀書新書速遞模塊

import requests from bs4 import BeautifulSoup html = requests.get('https://book.douban.com/').text soup = BeautifulSoup(html, 'lxml') html_content = soup.select('#content .slide-list li') print('###
相關文章
相關標籤/搜索