diff options
Diffstat (limited to 'bandai_namco')
| -rw-r--r-- | bandai_namco/wmmt.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bandai_namco/wmmt.py b/bandai_namco/wmmt.py index 1277514..fc0e4bf 100644 --- a/bandai_namco/wmmt.py +++ b/bandai_namco/wmmt.py @@ -193,6 +193,8 @@ def make_wmmt_news_extractor(identifier: str, version: constants.WANGAN_MAXI_VER "image": img_url, "link": urljoin(BASE_URL, parent.get("href")) if parent and parent.get("href") else None }) + if data["type"] == "FUTURE LAB": + images = images[1:] data["type"] = "["+region_text+"]" + " " + data["type"] data["identifier"] = identifier data["timestamp"] = timestamp @@ -227,6 +229,8 @@ def make_wmmt_news_extractor(identifier: str, version: constants.WANGAN_MAXI_VER "image": img_url, "link": urljoin(BASE_URL, parent.get("href")) if parent and parent.get("href") else None }) + if data["type"] == "FUTURE LAB": + images = images[1:] data["type"] = "["+region_text+"]" + " " + data["type"] data["identifier"] = identifier data["timestamp"] = timestamp |
