1
I’m developing a bot to capture certain information from websites, but when I try to collect the information related to the description of the item collected, it does not go through the while
effectuating the other collections.
It saves different information, but adds the same description for all items.
Follow the code excerpt:
var target = trs[tr_num].SelectNodes("//button[@class='btn btn-default']")
[0].Attributes["data-target"].Value.CopyAfter("#").Trim();
string xpathCompara = ("//section[@id='about']/div[@id='" + target + "']");
This may help you https://answall.com/a/277387/99718
– Valdeir Psr
Hello Valdeir, this example applies to C# as well?
– Jonathan Igor Bockorny Pereira