Skip to content

hpple on AppleWatch #68

@Ragazzetto

Description

@Ragazzetto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions