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'