diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-05-15 01:05:03 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-05-15 01:05:03 -0700 |
| commit | 98752471904a0f750d37e390160cfaea58437a96 (patch) | |
| tree | c448a5e83cbe8d94f86157142a80a5a567411663 /bandai_namco | |
| parent | 3d06969f7094054b89299482159f018b6ba3b62f (diff) | |
wmmt: fix lstrip syntax
Diffstat (limited to 'bandai_namco')
| -rw-r--r-- | bandai_namco/wmmt.py | 4 |
1 files 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": |
