Example #1
0
        public static string GetDescription(string gameTitle)
        {
            gameTitle = GetOriginalTitle(gameTitle);

            var link = GameExtractor.FindLink(gameTitle); //dal titolo ti da il link

            return(CheckDescription(link));
        }
Example #2
0
        //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}");
        }
Example #3
0
        public Form1()
        {
            InitializeComponent();

            var client     = new RestClient("https://steamunlocked.net");
            var request    = new RestRequest("/all-games/");
            var response   = client.Get(request);
            var sourcePage = response.Content;

            var titles = new List <string>();

            GameExtractor.Extract(sourcePage, out titles);

            foreach (var title in titles)
            {
                listBox1.Items.Add(title);
            }
        }