public static string GetDescription(string gameTitle) { gameTitle = GetOriginalTitle(gameTitle); var link = GameExtractor.FindLink(gameTitle); //dal titolo ti da il link return(CheckDescription(link)); }
//Bottone Download private void button1_Click(object sender, System.EventArgs e) { var gameSelected = label1.Text; var title = GetGameInfo.GetOriginalTitle(gameSelected).ToString(); string link = GameExtractor.FindLink(title).ToString(); var dwn = GetGameInfo.GetDownloadLink(link); //dwn = dwn.Replace("https://linksunlocked.com/?token=", "https://www.uploadhaven.com/download/"); Process.Start("chrome.exe", $"{dwn}"); }