From 98752471904a0f750d37e390160cfaea58437a96 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 15 May 2025 01:05:03 -0700 Subject: wmmt: fix lstrip syntax --- bandai_namco/wmmt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bandai_namco/wmmt.py b/bandai_namco/wmmt.py index d75e0b5..1d5ea66 100644 --- a/bandai_namco/wmmt.py +++ b/bandai_namco/wmmt.py @@ -167,7 +167,7 @@ def make_wmmt_news_extractor(identifier: str, version: constants.WANGAN_MAXI_VER content = first_p.get_text(" ", strip=True) if first_p else "" images = [] for img in container.select("img"): - src = img.get("src").replace("./","").lstip("/") + src = img.get("src").replace("./","").lstrip("/") if not src: continue if data["type"] == "EVENTS": @@ -205,7 +205,7 @@ def make_wmmt_news_extractor(identifier: str, version: constants.WANGAN_MAXI_VER content = first_p.get_text(" ", strip=True) if first_p else "" images = [] for img in container.select("img"): - src = img.get("src").replace("./","").lstip("/") + src = img.get("src").replace("./","").lstrip("/") if not src: continue if data["type"] == "EVENTS": -- cgit v1.2.3