using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text.RegularExpressions; using System.Threading.Tasks; using DSALib.FireBase; using DSALib.Models.Database.Dsa; namespace DSALib.Auxiliary { public class WeaponImporter { private readonly List Range = new List(); private readonly List Weapons = new List(); public async Task DownloadWeapons() { var client = new HttpClient(); for (var i = 1; i <= 25; i++) { var responseString = await client.GetStringAsync("http://diarium.eu/dsa4-forge/ajax/categoryChanged/" + i); var talentRegex = new Regex(@"(?<=