Further increase CurseForge AddOn search size from 50 to 500. Turns out CurseForge's search is really bad.

This commit is contained in:
Casper V. Kristensen 2019-10-14 12:27:55 +02:00
parent aaf92a6ce6
commit 141f65c04c
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -40,7 +40,7 @@ class CurseForge(Web):
url=f"{cls.api_url}/api/v2/addon/search", url=f"{cls.api_url}/api/v2/addon/search",
params={ params={
"gameId": 1, # World of Warcraft "gameId": 1, # World of Warcraft
"pageSize": 50, "pageSize": 500,
"searchFilter": query "searchFilter": query
} }
).json() ).json()