Fix gallery comment parsing
This commit is contained in:
1 parent
46c9197cce
commit
998f57f435
1 file changed
+1
-1
@@ -397,7 +397,7 @@ public class GalleryDetailParser {
|
||||
// time
|
||||
Element c3 = JsoupUtils.getElementByClass(element, "c3");
|
||||
String temp = c3.ownText();
|
||||
temp = temp.substring("Posted on ".length(), temp.length() - " by: ".length());
|
||||
temp = temp.substring("Posted on ".length(), temp.length() - " by:".length());
|
||||
comment.time = WEB_COMMENT_DATE_FORMAT.parse(temp).getTime();
|
||||
// user
|
||||
comment.user = c3.child(0).text();
|
||||
|
||||
Reference in new issue
Block a user