-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed with selector "h1:first" on webpage http://en.m.wikipedia.org/wiki/Katy_Perry #42
Comments
That error is trying to tell you that Which element are you trying to get to on that page? If it's just the first |
Thanks, You are correct. |
Did you manage to get the elements you needed from the page? |
Yes, thanks a lot. |
Most of those should work. The ones that won't work are the ones that don't make much sense for HTMLReader, like |
Getting following error/exception:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempted to use selector with error: Error Domain=HTMLSelectorErrorDomain Code=1 "Unrecognized pseudo class" UserInfo=0x7fd24389f2d0 {NSLocalizedFailureReason=Error near character 8: Unrecognized pseudo class
At below line number two
#1 HTMLDocument *document = [HTMLDocument documentWithString:markup];
#2 HTMLElement * element = [document firstNodeMatchingSelector:@"h1:first"];
The text was updated successfully, but these errors were encountered: