python 爬取豆瓣图书, 保存为CSV格式
python 爬取豆瓣图书, 保存为CSV格式import requestsfrom bs4 import BeautifulSoupimport csvurls = ['https://book.douban.com/top250?start={0}'.format(i) for i in range(10)]for url in urls: headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Appl