From 7af659bda701c45b19fa5dfdacb651710d698d0e Mon Sep 17 00:00:00 2001 From: "Wayne.S.Lui" Date: Tue, 30 Aug 2022 22:56:54 +0800 Subject: [PATCH] Update fanza.py --- scrapinglib/fanza.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scrapinglib/fanza.py b/scrapinglib/fanza.py index 0ccf285..698a888 100644 --- a/scrapinglib/fanza.py +++ b/scrapinglib/fanza.py @@ -140,8 +140,7 @@ class Fanza(Parser): def getExtrafanart(self, htmltree): html_parent = re.compile(r'
\s*?') - html = html_parent.search( - self.htmlcode) + html = html_parent.search(self.htmlcode) if html: html = html.group() extrafanart_parent = re.compile(r'[\s\S].*}\s*?') - html = html_parent.search( - self.htmlcode) + html = html_parent.search(self.htmlcode) if html: html = html.group() trailer_parent = re.compile(r'\"contentUrl\":\"(.*?)\"')