private void wB_Navigated(object sender, WebBrowserNavigatedEventArgs e) { string URL = wB.Url.ToString(); Console.WriteLine(URL); URL = URL.Replace("https://", ""); var m = my.explode("/", URL); if (m.Count() != 3) { return; } if (!my.IsNumeric(m[1])) { return; } downloadURL.Text = "https://" + URL; }