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 == "あり")