Rami
Rami

Reputation: 11

Data grabbing that changes constantly

In my app (C#) I have a WebBrowser that logins automatically to a site, from there I want to take my data and display it in a textBox. How can I do this because when I get the source code I cant find any sellPrice and in DOM Explorer doesn't have any id. Maybe it is because the data changes constantly ?

enter image description here

Upvotes: 1

Views: 70

Answers (2)

Krishnraj Rana
Krishnraj Rana

Reputation: 6656

Please have a look at HTMLAgilityPack solution. It is HTML parser that builds a read/write DOM. You can download it from here.

I hope, it might resolve your problem.

Upvotes: 1

user1968030
user1968030

Reputation:

You can get data like:

HtmlElement he = this.webBrowser1.Document.GetElementById("tbox_sell_price");

Upvotes: 0

Related Questions