diff --git "a/python \347\210\254\350\231\253/douban/demo.py" "b/python \347\210\254\350\231\253/douban/demo.py" index a861713..bed0801 100644 --- "a/python \347\210\254\350\231\253/douban/demo.py" +++ "b/python \347\210\254\350\231\253/douban/demo.py" @@ -30,7 +30,7 @@ def get_one(num): # 解析网页结构 def parse_page(html): info = [] - patten1 = re.compile(r'
.*?(.*?).*?.*?.*?

(.*?)

.*?
', re.S) + patten1 = re.compile(r'
.*?(.*?).*?.*?.*?

.*?(.*?).*?

.*?
', re.S) datas = re.findall(patten1, html) for data in datas: comic = {}