正則表達式小例子----爬取豆瓣圖書信息

import requests import re # content = requests.get('https://book.douban.com/').text # print(content) # with open('1.html','w',encoding='utf-8') as file: # file.write(content) # pattern = re.compile('
相關文章
相關標籤/搜索