Open ionutnechita opened 4 years ago
Use html parser (goquery, net/html, ...)
colly do not support recursive decoding.
Hi @gopherclass You can help me with a small example? colly and goquery or colly and net/html.
@ionutnechita https://github.com/PuerkitoBio/goquery#examples This will give you a starting point.
Package net/html i mentioned points to https://golang.org/x/net/html. The package provides low-level functionality to parse and manipulate html. If you use goquery, the package might not be seen.
Hi @CollyTeam,
I tried to do a xml scan, but i did not find an answer to the html elements that i can't find. This is the method used by me:
In this element "/variables", I also have html elements. How could i parsing them? I have here a div and a table.
The element would contain this:
If this is not possible, for parsing this div and table. How could i keep all the html elements so that i can parse them separately?