diff --git a/ReplayBrowser/Services/ReplayParser/Providers/NginxProvider.cs b/ReplayBrowser/Services/ReplayParser/Providers/NginxProvider.cs index 8ebf8bc..29b183f 100644 --- a/ReplayBrowser/Services/ReplayParser/Providers/NginxProvider.cs +++ b/ReplayBrowser/Services/ReplayParser/Providers/NginxProvider.cs @@ -41,7 +41,6 @@ public override async Task RetrieveFilesRecursive(string directoryUrl, Cancellat if (href.EndsWith("/", StringComparison.Ordinal)) { - await Task.Delay(TimeSpan.FromMilliseconds(10), token); // Prevents spamming the server await RetrieveFilesRecursive(href, token); } diff --git a/ReplayBrowser/appsettings.json b/ReplayBrowser/appsettings.json index 370df61..978fa87 100644 --- a/ReplayBrowser/appsettings.json +++ b/ReplayBrowser/appsettings.json @@ -7,6 +7,15 @@ }, "AllowedHosts": "*", "ReplayUrls": [ + { + "url": "https://replay.tucanostation.com/replays/", + "provider": "nginx", + "fallBackServerName": "gabystation", + "fallBackServerId": "gabystation", + "replayRegex": "(\\d{4}_\\d{2}_\\d{2}-\\d{2}_\\d{2})-round_\\d+\\.zip", + "serverNameRegex": "" + }, + { "url": "https://replays.funkystation.org/lrp1/", "provider": "nginx",