摘要: 1 import requests 2 import re 3 4 content = requests.get('https://book.douban.com/').text 5 pattem = re.compile('(.*?).*?year">(.*?).*?',re.S) 6 results = re.findall(pattem, content) 7 # prin... 阅读全文
posted @ 2018-09-04 21:30 饭桶大叔 阅读(449) 评论(0) 推荐(0) 编辑