Increase CurseForge AddOn search size from 10 to 50.

This commit is contained in:
Casper V. Kristensen 2019-10-14 12:19:18 +02:00
parent d9e6ca1317
commit aaf92a6ce6
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": 10, "pageSize": 50,
"searchFilter": query "searchFilter": query
} }
).json() ).json()