Hi my friends,
I build a script to read & download a specific webpage source in a text file in Unity, what I really want to achieve is to extract from this pages only html tables data, for example (the red text to be removed, the green one to keep and extract data):
Html Page:
My Website Com
List of items: Example
Position
Name of item
Date added
1
John
2017-07-14 19:19
2
Jane
2017-07-14 19:30
3
Kelly
2017-07-14 18:44
4
Michael
2017-07-12 12:49
5
William
2017-07-13 00:26
Any ideas how can achieve this?
Thanks in advance!
Zonlib
January 29, 2018, 1:44pm
2
You just build a script to read html page as an xml document and get the node named ‘table’.
1 Like
johne5
January 29, 2018, 1:48pm
3
Do you have an Html parser created yet?
this looks like a good link
1 Like
:angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
This is the one I use. It does require you to set your .net to 4.6, thus only 2017.1 + will work with it.
1 Like
hi - can anyone point me to (or provide) a guide for getting AngleSharp working with Unity ?
Hmm…it’s been a long time since I had to import this. But as I mentioned, it requires 4.6 in your project.
Looks like I just put this folder in my project