From da5a590bde764d83988c0079d116771b5591da2d Mon Sep 17 00:00:00 2001 From: Feng4 Date: Sun, 27 Dec 2020 00:26:04 +0800 Subject: [PATCH] Update javbus.py --- WebCrawler/javbus.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/WebCrawler/javbus.py b/WebCrawler/javbus.py index a233c5e..dc3743e 100644 --- a/WebCrawler/javbus.py +++ b/WebCrawler/javbus.py @@ -107,6 +107,17 @@ def getTag(htmlcode): # 获取标签 tag.append(translateTag_to_sc(i.get_text())) return tag +def getExtrafanart(htmlcode): # 获取剧照 + html_pather = re.compile(r'
[\s\S]*?
\s*?') + html = html_pather.search(htmlcode) + if html: + html = html.group() + extrafanart_pather = re.compile(r'