I downloaded a webpage into a NSString but am only interested in certain pieces of the webpage. I used "componentsSeparatedByString" to get to one of the 8 parts of the page, but it seems very inefficient to keep repeating this for each piece, as well as each sub piece that gets processed after getting the result of that function. What is the best way to do this?
Asked
Active
Viewed 204 times
1 Answers
0
Module HTMLparser from libxml2
this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view.

Parag Bafna
- 22,812
- 8
- 71
- 144