this should reduce number of requests for full run

This commit is contained in:
13xforever 2022-12-03 15:37:02 +05:00
parent aa929ac9bc
commit c851b694af
No known key found for this signature in database
GPG Key ID: 2B2A36B482FE70C5
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ function Request-Page($num)
function Get-TotalPageCount($start) function Get-TotalPageCount($start)
{ {
$min = $start $min = $start
$max = $start + 1000 $max = $start + 5000
do do
{ {
$html = Request-Page $max $html = Request-Page $max

View File

@ -35,7 +35,7 @@ function Request-Page($num)
function Get-TotalPageCount($start) function Get-TotalPageCount($start)
{ {
$min = $start $min = $start
$max = $start + 1000 $max = $start + 3000
do do
{ {
$response = Request-Page $max $response = Request-Page $max