mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-23 02:09:38 +00:00
this should reduce number of requests for full run
This commit is contained in:
parent
aa929ac9bc
commit
c851b694af
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user