diff --git a/RC2BotArchiver/Program.cs b/RC2BotArchiver/Program.cs index 2c482ab..8576025 100644 --- a/RC2BotArchiver/Program.cs +++ b/RC2BotArchiver/Program.cs @@ -10,7 +10,9 @@ using RC2BotArchiver; Console.WriteLine("Hello, World!"); -var client = new HttpClient(); +FixCRF2Archive.FixIt(); + +/*var client = new HttpClient(); async Task GetResponse(HttpResponseMessage result, string url) { @@ -73,7 +75,7 @@ client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bear const string factoryUrl = "https://factory.development.robocraft.org"; -int page = 52; +int page = 57; while (true) { try @@ -104,10 +106,10 @@ while (true) Console.WriteLine(e); if (e.Message != "Failed to get robots!") break; - Thread.Sleep(10000); + Thread.Sleep(100000); } } -await DownloadImages.DoIt(client); +await DownloadImages.DoIt(client);*/ // TODO: Chart of amount of bots on CRF by date & amount of starter bots