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'