using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text.RegularExpressions; using System.Threading.Tasks; using DSACore.FireBase; using DSACore.Models.Database.DSA; namespace DSACore.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(@"(?<=