Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter title for games that use more that have special editions #4

Open
JJAHAX2 opened this issue Oct 29, 2022 · 3 comments
Open

Filter title for games that use more that have special editions #4

JJAHAX2 opened this issue Oct 29, 2022 · 3 comments

Comments

@JJAHAX2
Copy link

JJAHAX2 commented Oct 29, 2022

For example it fails to find info for Batman: Arkham Asylum GOTY Edition because the title contains "GOTY Edition". So I think it would be awesome if it would filter out words out of the title.

Some games that it fails to find due to this is:
Batman: Arkham Asylum GOTY Edition
Batman: Arkham City GOTY
Crysis 2 Maximum Edition
Mafia II (Classic)
Shadowrun Hong Kong Extended Edition

@hulkrelax
Copy link
Owner

Yeah I figured this was inevitable. Unfortunately there isn't always guaranteed 1:1 from Steam to HLTB. I'll see what I can do. Thanks for concrete examples

@saynsh
Copy link

saynsh commented Nov 19, 2022

Came upon this today, when viewing Batman Arkham Asylum GOTY Edition, as @JJAHAX2 described.

One solution could be to have a list of keywords/phrases that can be stripped from the game name string in case the response from hltb yields a list of zero games. Then make a new call.

@Castlemark
Copy link

I've also encountered this issue with Pathfinder: Wrath of the Righteous - Enhanced Edition. As @saynsh said, I think the best solution is to add a list of keywords to filter while searching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants