From fc15e119caafc45c60a506190ac0fdd179c20ca7 Mon Sep 17 00:00:00 2001 From: Feng4 Date: Sun, 27 Dec 2020 00:29:25 +0800 Subject: [PATCH] Update xcity.py --- WebCrawler/xcity.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/WebCrawler/xcity.py b/WebCrawler/xcity.py index 21a1389..3508b39 100644 --- a/WebCrawler/xcity.py +++ b/WebCrawler/xcity.py @@ -154,6 +154,20 @@ def getSeries(htmlcode): except: return '' +def getExtrafanart(htmlcode): # 获取剧照 + html_pather = re.compile(r'
[\s\S]*?
') + html = html_pather.search(htmlcode) + if html: + html = html.group() + extrafanart_pather = re.compile(r'