Set page size to 20 since nexus mods doesn't always obey 80
This commit is contained in:
parent
77562a7a05
commit
e69165fe5a
@ -25,7 +25,7 @@ pub struct ModListScrape<'a> {
|
||||
pub async fn get_mod_list_page(client: &Client, page: usize) -> Result<ModListResponse> {
|
||||
let res = client
|
||||
.get(format!(
|
||||
"https://www.nexusmods.com/Core/Libs/Common/Widgets/ModList?RH_ModList=nav:true,home:false,type:0,user_id:0,game_id:{},advfilt:true,include_adult:true,page_size:80,show_game_filter:false,open:false,page:{},sort_by:OLD_u_downloads",
|
||||
"https://www.nexusmods.com/Core/Libs/Common/Widgets/ModList?RH_ModList=nav:true,home:false,type:0,user_id:0,game_id:{},advfilt:true,include_adult:true,page_size:20,show_game_filter:false,open:false,page:{},sort_by:OLD_u_downloads",
|
||||
GAME_ID,
|
||||
page
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user