mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
this should reduce number of requests for full run
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user