Skip to content
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

hpple on AppleWatch #68

Open
Ragazzetto opened this issue Oct 25, 2015 · 1 comment
Open

hpple on AppleWatch #68

Ragazzetto opened this issue Oct 25, 2015 · 1 comment

Comments

@Ragazzetto
Copy link

Hi
i use your class in my app to display image of a gallery in a blog under wordpress.com

In iPhone works perfectly , but when i use hpple on Apple Watch it's works on simulator but on fisical device it won't works !
When the parsing arrive on this line of code

TFHpple *parser = [TFHpple hppleWithHTMLData:appleWatchHtmlData];
NSLog(@"parser %@", parser);
NSString *tutorialsXpathQueryString = @"//div[@class='gallery galleryid-1461 gallery-columns-3 gallery-size-thumbnail']/dl/dt/a/img";

NSArray *imageFilesArray = [tutorialsParser searchWithXPathQuery:tutorialsXpathQueryString];
NSMutableArray *imagesArray = [[NSMutableArray alloc] initWithCapacity:0];

the nslog say
2015-10-25 18:19:13.939 WatchApp Extension[398:328494] parser <TFHpple: 0x1655d7e0>
2015-10-25 18:19:13.947 WatchApp Extension[398:328494] Unable to parse.

Perhaps it may be due to the limited apple watch resources, but how can i solve this issue ?

Thank you so much

@Ragazzetto Ragazzetto changed the title apple on AppleWatch hpple on AppleWatch Oct 25, 2015
@timh1004
Copy link

I have exactly the same problem!
Have you found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants