Closed Hybrid512 closed 3 years ago
well ... after digging a bit, looks like the api itself is broken regarding platform filtering.
You can check by yourself on the TGDB Swagger : https://api.thegamesdb.net/#/Games/GamesByGameName_v1
I tried the same request with and without filter[platform]=6 (for SNES) and that doesn't change anything, I always get results for every platforms.
This was effectively a bug on the TGDB api side. This has been fixed by the TGBD team : https://github.com/TheGamesDB/TheGamesDBv2/issues/32#issuecomment-859673849
Thanks. I posted a message in TGDB forum. I'm happy it's already fixed.
Hi,
I upgraded recently and now, I have an issue with the TGDB scraper. I have the impression that the platform filter is not working anymore. I have some roms that are existing with the exact same name on many platforms and the scraper retrieves all of them even though I'm applying it on a launcher where the platform is set.
Here is what I have in the logs :
As you can see, scraper found 11 results which is what I get on TGDB website when not filtering platforms.
When filtering on the SNES platform, I get only one.
Here is the URL : https://thegamesdb.net/search.php?name=batman+forever&platform_id%5B%5D=6
For what I can tell, I would says that your URL parameters for platform_id is wrong. On TGDB website this parameter is called platform_id while in your URL, you're using only platform.
Best regards