diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-10-04 11:59:22 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-10-04 11:59:22 -0700 |
| commit | 81906842665debc9c390c917e8e2e3a030d8c1c7 (patch) | |
| tree | 0dadeef5360ef165f44794fbbc25085d6fbfdd0d /bemani | |
| parent | a6df2f7648748817a547b50f1effbdb92b2a572d (diff) | |
refactor: remove game version specific identifiers
many of these will continue to work for a long time anyways without necessary updates
Diffstat (limited to 'bemani')
| -rw-r--r-- | bemani/ddr.py | 2 | ||||
| -rw-r--r-- | bemani/iidx.py | 3 | ||||
| -rw-r--r-- | bemani/sdvx.py | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/bemani/ddr.py b/bemani/ddr.py index 9651c48..b5ae93c 100644 --- a/bemani/ddr.py +++ b/bemani/ddr.py @@ -50,7 +50,7 @@ def parse_ddr_world_news_site(html: str): news_entries.append({ "date": date_iso, - "identifier": "DDR_WORLD", + "identifier": "DDR", "type": None, "timestamp": timestamp, "headline": headline, diff --git a/bemani/iidx.py b/bemani/iidx.py index 521d4f9..de7f34c 100644 --- a/bemani/iidx.py +++ b/bemani/iidx.py @@ -7,6 +7,7 @@ KEY_TERMS_TL = [ ("クプロ", "QPro") ] +# Legacy code. e-amuse feed provides better data def parse_pinky_crush_news_site(html: str): base_url = "https://p.eagate.573.jp" type_map = { @@ -54,7 +55,7 @@ def parse_pinky_crush_news_site(html: str): content = re.sub(r'\s*/\s*', '/', content) news_items.append({ "date": date_str, - "identifier": "IIDX_PINKY_CRUSH", + "identifier": "IIDX", "type": type_map[type_class], "timestamp": timestamp, "headline": headline, diff --git a/bemani/sdvx.py b/bemani/sdvx.py index 6b1d857..9d5a33b 100644 --- a/bemani/sdvx.py +++ b/bemani/sdvx.py @@ -38,7 +38,7 @@ def parse_exceed_gear_news_site(html: str): entries.append({ 'date': date_str, - 'identifier': 'SOUND_VOLTEX_EXCEED_GEAR', + 'identifier': 'SOUND_VOLTEX', 'type': None, 'timestamp': timestamp, 'headline': headline_text, |
