Well, I have a code that reads the page however I need the following:
<a href="/t848p15-teste">2</a>
The idea of the code is to look for a <a>
tag that has this 2
and return the link. In case, it would return: /t848p15-teste
.
The code I have to read is this:
WebRequest request = WebRequest.Create("site_aqui");
WebResponse response = request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream(), Encoding.ASCII);
string Texto = reader.ReadToEnd();