Browse Source

add edit functionality for greek

pull/44/head
Thodoris1999 6 years ago
parent
commit
45ec9e042a
  1. 4
      app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java

4
app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java

@ -249,6 +249,10 @@ public class TopicParser {
p_deletePostURL = postDelete.attr("href");
}
Element postEdit = thisRow.select("a:has(img[alt='Αλλαγή'])").first();
if (postEdit != null)
p_editPostURL = postEdit.attr("href");
//Finds post's submit date
Element postDate = thisRow.select("div.smalltext:matches(στις:)").first();
p_postDate = postDate.text();

Loading…
Cancel
Save