1
0
Fork 0

epicgames.com/store -> store.epicgames.com

This commit is contained in:
Casper V. Kristensen 2022-07-10 16:12:01 +02:00
parent b75ce6822b
commit 4d12e84ce2
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ def find_store_links(game_name: str) -> Dict[str, str]:
"origin.com": "Origin", "origin.com": "Origin",
"ubi(soft)?.com": "Ubisoft", "ubi(soft)?.com": "Ubisoft",
"www.microsoft.com/.*p": "Microsoft Store", "www.microsoft.com/.*p": "Microsoft Store",
"epicgames.com/store": "Epic Games", "store.epicgames.com": "Epic Games",
"itch.io": "Itch.io", "itch.io": "Itch.io",
"bigfishgames.com/games": "Big Fish Games", "bigfishgames.com/games": "Big Fish Games",
"gamejolt.com": "Game Jolt", "gamejolt.com": "Game Jolt",

View file

@ -161,10 +161,10 @@ class ParseDirnameTestCase(unittest.TestCase):
self.assertIn("gog.com/game/diablo", r.store_links["GOG"]) self.assertIn("gog.com/game/diablo", r.store_links["GOG"])
def test_epic_games_exclusive(self): 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) r = parsing.parse_pre(pre)
self.assertIn( 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): def test_score_non_steam(self):