Browse Source

Merge pull request #44 from ThmmyNoLife/edit_greek_fix

yay greek
pull/50/head
oogee 6 years ago
committed by GitHub
parent
commit
a89b737b59
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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"); 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 //Finds post's submit date
Element postDate = thisRow.select("div.smalltext:matches(στις:)").first(); Element postDate = thisRow.select("div.smalltext:matches(στις:)").first();
p_postDate = postDate.text(); p_postDate = postDate.text();

Loading…
Cancel
Save