From f75ff305c192871ba4d852092ce85409e6dcb3c8 Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 24 Aug 2020 18:18:01 +1000 Subject: [PATCH] =?UTF-8?q?rabbit=EF=BC=8A=20Oh.=20Search.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- listing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listing.py b/listing.py index 153cefe..44cb8ff 100644 --- a/listing.py +++ b/listing.py @@ -94,7 +94,7 @@ class YahooAuctionsItem: r = requests.get(f"https://page.auctions.yahoo.co.jp/jp/auction/{self.id}").text # r = open("yahoo.html").read() j = json.loads(re.match(r'.*var pageData ?= ?(\{.*?\});', r, re.DOTALL).group(1)) - ae = re.match(r'自動延長.+\n.+>(.+)<.+', r) + ae = re.search(r'自動延長.+\n.+>(.+)<.+', r) if ae != None: ae = ae.group(1) self.auto_extension = (ae == "あり")