Fix dev CRF2
This commit is contained in:
parent
8d2a431a2a
commit
81c0130792
1 changed files with 6 additions and 4 deletions
|
@ -10,7 +10,9 @@ using RC2BotArchiver;
|
||||||
|
|
||||||
Console.WriteLine("Hello, World!");
|
Console.WriteLine("Hello, World!");
|
||||||
|
|
||||||
var client = new HttpClient();
|
FixCRF2Archive.FixIt();
|
||||||
|
|
||||||
|
/*var client = new HttpClient();
|
||||||
|
|
||||||
async Task<JsonElement?> GetResponse(HttpResponseMessage result, string url)
|
async Task<JsonElement?> GetResponse(HttpResponseMessage result, string url)
|
||||||
{
|
{
|
||||||
|
@ -73,7 +75,7 @@ client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bear
|
||||||
|
|
||||||
const string factoryUrl = "https://factory.development.robocraft.org";
|
const string factoryUrl = "https://factory.development.robocraft.org";
|
||||||
|
|
||||||
int page = 52;
|
int page = 57;
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -104,10 +106,10 @@ while (true)
|
||||||
Console.WriteLine(e);
|
Console.WriteLine(e);
|
||||||
if (e.Message != "Failed to get robots!")
|
if (e.Message != "Failed to get robots!")
|
||||||
break;
|
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
|
// TODO: Chart of amount of bots on CRF by date & amount of starter bots
|
||||||
|
|
Loading…
Reference in a new issue