From 0b729c3d5efe81ea8a0fe81c273c22f7c5e18a2d Mon Sep 17 00:00:00 2001 From: Feng4 Date: Sat, 26 Dec 2020 23:43:50 +0800 Subject: [PATCH] Update fanza.py --- WebCrawler/fanza.py | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/WebCrawler/fanza.py b/WebCrawler/fanza.py index baac89b..8dfb31d 100644 --- a/WebCrawler/fanza.py +++ b/WebCrawler/fanza.py @@ -209,6 +209,21 @@ def getSeries(text): except: return "" +def getExtrafanart(htmlcode): # 获取剧照 + html_pather = re.compile(r'
') + html = html_pather.search(htmlcode) + if html: + html = html.group() + extrafanart_pather = re.compile(r'