I wanna retrieve the parameters from certain URL, how could I do this with htmlagilitypack?
Example URL: https://stackoverflow.com/questions?page=4&sort=newest
I want to get the page number and the sort value...Is it possible to do that??
The codes for load HTML page:
public HtmlDocument ExtractHtml(string url)
{
HtmlDocument doc = new HtmlWeb().Load(url);
return doc;
}