I'm using libcurl to give an html dump of a webpage. I then want to go through the html and find the lists, so I'm only looking for stuff between <li> and <\li>.
I thought it would be easier to do this myself than download a library to do this (libxml is for this stuff right?). I'm basically too lazy to download and link in another library. Libcurl gave me a few headaches but I got them sorted.
The problem is how do I deal with the escape character? '\' is just ignored in my string. Also, wierdly, my 'g' turn out as a smiley face, I have no idea why.
Can I do this myself or should I find an html parsing lib?
Bookmarks