This commit is contained in:
Deng Zhou
2022-04-30 00:54:04 +08:00
parent 3813545e7e
commit df9dae1fc2

View File

@@ -260,8 +260,8 @@ def main(number):
# etree.fromstring开销很大最好只用一次而它的xpath很快比bs4 find/select快可以多用
lx = etree.fromstring(detail_page, etree.HTMLParser())
# no cut image by default
imagecut = 3
# 页面改版默认裁切
imagecut = 1
# If gray image exists ,then replace with normal cover
if re.search(r'[a-zA-Z]+\.\d{2}\.\d{2}\.\d{2}', number):
cover_small = getCover_small(html)