NSXMLParser
is probably not the correct tool for the job. It requires accurate XML input and often HTML from websites isn't accurate enough (missing tags / bad encoding / etc).
Instead, you may want to:
- Find a different parser that is more free and easy about accuracy
- Load into a web view and use javascript to find your content
- Use
NSScanner
to locate and extract your content - Find a service which offers a proper API rather than trying to scrape the results