یه کد خیلی باحالی که من اتفاقی چند سال پیش پیدا کردم اینه :
WebClient w = new WebClient();
// string pattern = @"(<a.*?>.*?</a>)";
// string pattern = @"(http://.*?/)";
// string pattern = "(/store/apps/details?id=.*?\")";
string pattern = "(/store/apps/details.*?\")";
MatchCollection hreflist;
string Url = w.DownloadString("https://play.google.com/" + FirsrColumn);
// string Url = w.DownloadString("https://play.google.com/");
//Getting the count for the number of links in oldUrl
hreflist = Regex.Matches(Url, pattern);
// MessageBox.Show("Total number of links in Url: " + hreflist.Count);
listBox1.Items.Add("Total number of links in Url: " + hreflist.Count);
foreach (Match match in hreflist)
{
listBox1.Items.Add(match.Value.Substring(0, match.Value.Length - 1));
}
اینو قبلن به جونه گوگل پلی برای گوشیم انداخته بودم . تو syntax رو که میخوای توو سورس پیدا کنه ، به این بده .
موفق باشی