You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many websites has text content of paras inside double quotes, instead of enclosing
HTML tags. It is not parse such sites.
For the following HTML :-
"A new "
report
"by intelligence firm "
Recorded Future
"examined Al-Qaeda's changes in encryption in response to the Snowden leaks, noting "an increased pace of innovation, specifically new competing jihadist platforms and three major new encryption tools from three different organizations - GIMF, Al-Fajr Technical Committee, and ISIS - within a three to five-month time frame of the leaks."
It is not possible to extract the text because TFHppleElement node with class 'article' has all the text without parent HTML tag in its content.
It has various child nodes with "a", "em" tags, the rest is in its content.
TFHppleElement * div = [[doc searchWithXPathQuery:@"//div[@Class='article']"] objectAtIndex:0];
po div.content (it won't print text which is hyperlinked or italicised.
The text was updated successfully, but these errors were encountered:
Many websites has text content of paras inside double quotes, instead of enclosing
HTML tags. It is not parse such sites.
For the following HTML :-
It is not possible to extract the text because TFHppleElement node with class 'article' has all the text without parent HTML tag in its content.
It has various child nodes with "a", "em" tags, the rest is in its content.
See http://appleinsider.com/articles/14/08/02/al-qaeda-prefers-android-over-apples-ios for example.
TFHppleElement * div = [[doc searchWithXPathQuery:@"//div[@Class='article']"] objectAtIndex:0];
po div.content (it won't print text which is hyperlinked or italicised.
The text was updated successfully, but these errors were encountered: