Describe the bug
Hi!
I just wanted to give you a heads up that HTTP requests of yours are currently being blocked on PCGamingWiki and AppleGamingWiki's side of things:
The blocks affects these two requests (there may be more but I primarily see these two appear):
|
`https://www.pcgamingwiki.com/w/api.php?action=query&list=search&srsearch=${title.replaceAll( |
|
`https://www.applegamingwiki.com/w/api.php?action=query&list=search&srsearch=${title.replaceAll( |
As you may or may not know, PCGW's infrastructure have been hammered by AI bots, crawlers, and scrappers for awhile now and to alleviate the pressure we had to enable more aggressive protection in the firewall. As part of that we also had to block some generic user agent strings such as empty ones or those starting with axios/... as these things were common identifier shared among a lot of the excessive traffic we were seeing.
This also means that the requests your users are currently doing are affected since you still seem to use the default axios/1.13.5 user agent string that Axios uses by default.
I do not have any experience with Axios myself but it seems to be pretty easy to set a custom one based on their documentation. I would therefor recommend you transition over to a more unique one so that web administrators can more easily identify and separate Heroic Games Launcher traffic from those of other applications and tools.
For example MediaWiki recommends using the following format:
User-Agent: clientname/version (contact information e.g. username, email) framework/version
e.g. something like this, which would be enough to bypass PCGW's current blocks:
User-Agent: HeroicGamesLauncher/2.21.0 (https://heroicgameslauncher.com/; heroicgameslauncher@protonmail.com) axios/1.13.5
Add logs
Steps to reproduce
Expected behavior
Screenshots
No response
Heroic Version
Latest Stable
System Information
Additional information
No response
Describe the bug
Hi!
I just wanted to give you a heads up that HTTP requests of yours are currently being blocked on PCGamingWiki and AppleGamingWiki's side of things:
The blocks affects these two requests (there may be more but I primarily see these two appear):
HeroicGamesLauncher/src/backend/wiki_game_info/pcgamingwiki/utils.ts
Line 88 in 8c8ba3a
HeroicGamesLauncher/src/backend/wiki_game_info/applegamingwiki/utils.ts
Line 46 in 8c8ba3a
As you may or may not know, PCGW's infrastructure have been hammered by AI bots, crawlers, and scrappers for awhile now and to alleviate the pressure we had to enable more aggressive protection in the firewall. As part of that we also had to block some generic user agent strings such as empty ones or those starting with
axios/...as these things were common identifier shared among a lot of the excessive traffic we were seeing.This also means that the requests your users are currently doing are affected since you still seem to use the default
axios/1.13.5user agent string that Axios uses by default.I do not have any experience with Axios myself but it seems to be pretty easy to set a custom one based on their documentation. I would therefor recommend you transition over to a more unique one so that web administrators can more easily identify and separate Heroic Games Launcher traffic from those of other applications and tools.
For example MediaWiki recommends using the following format:
e.g. something like this, which would be enough to bypass PCGW's current blocks:
Add logs
Steps to reproduce
Expected behavior
Screenshots
No response
Heroic Version
Latest Stable
System Information
Additional information
No response