From c851b694af3c82dfeaa7cadbb65542011ec6826a Mon Sep 17 00:00:00 2001 From: 13xforever Date: Sat, 3 Dec 2022 15:37:02 +0500 Subject: [PATCH] this should reduce number of requests for full run --- get-names_anidb.ps1 | 2 +- get-names_anilist.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/get-names_anidb.ps1 b/get-names_anidb.ps1 index f073cf74..e2fde33a 100644 --- a/get-names_anidb.ps1 +++ b/get-names_anidb.ps1 @@ -44,7 +44,7 @@ function Request-Page($num) function Get-TotalPageCount($start) { $min = $start - $max = $start + 1000 + $max = $start + 5000 do { $html = Request-Page $max diff --git a/get-names_anilist.ps1 b/get-names_anilist.ps1 index ae00c8cc..72c4a06c 100644 --- a/get-names_anilist.ps1 +++ b/get-names_anilist.ps1 @@ -35,7 +35,7 @@ function Request-Page($num) function Get-TotalPageCount($start) { $min = $start - $max = $start + 1000 + $max = $start + 3000 do { $response = Request-Page $max