using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using CompatBot.Database; using CompatBot.Database.Providers; using CompatBot.EventHandlers; using DSharpPlus.CommandsNext; using PsnClient.POCOs; using PsnClient.Utils; namespace CompatBot.ThumbScrapper; internal sealed class PsnScraper { private static readonly PsnClient.Client Client = new(); public static readonly Regex ContentIdMatcher = new( @"(?(?(?\w\w)(?\d{4}))-(?(?\w{4})(?\d{5}))_(?\d\d)-(?