diff --git a/dailyreleases/stores/__init__.py b/dailyreleases/stores/__init__.py index c9583cb..832eaad 100644 --- a/dailyreleases/stores/__init__.py +++ b/dailyreleases/stores/__init__.py @@ -25,7 +25,7 @@ def find_store_links(game_name: str) -> Dict[str, str]: "origin.com": "Origin", "ubi(soft)?.com": "Ubisoft", "www.microsoft.com/.*p": "Microsoft Store", - "epicgames.com/store": "Epic Games", + "store.epicgames.com": "Epic Games", "itch.io": "Itch.io", "bigfishgames.com/games": "Big Fish Games", "gamejolt.com": "Game Jolt", diff --git a/tests/test_parse_dirname.py b/tests/test_parse_dirname.py index 068f460..54c02e4 100644 --- a/tests/test_parse_dirname.py +++ b/tests/test_parse_dirname.py @@ -161,10 +161,10 @@ class ParseDirnameTestCase(unittest.TestCase): self.assertIn("gog.com/game/diablo", r.store_links["GOG"]) def test_epic_games_exclusive(self): - pre = Pre("Journey-CODEX", "nfo_link", datetime.utcnow()) + pre = Pre("Vampire_The_Masquerade_Swansong-Razor1911", "nfo_link", datetime.utcnow()) r = parsing.parse_pre(pre) self.assertIn( - "epicgames.com/store/en-US/product/journey", r.store_links["Epic Games"] + "store.epicgames.com/en-US/p/vampire-the-masquerade-swansong", r.store_links["Epic Games"] ) def test_score_non_steam(self):