|
@ -183,7 +183,7 @@ public class RecentFragment extends BaseFragment { |
|
|
|
|
|
|
|
|
private void parse(Document document) { |
|
|
private void parse(Document document) { |
|
|
Elements recent = document.select("#block8 :first-child div"); |
|
|
Elements recent = document.select("#block8 :first-child div"); |
|
|
if (recent.size() == 30) { |
|
|
if (!recent.isEmpty()) { |
|
|
topicSummaries.clear(); |
|
|
topicSummaries.clear(); |
|
|
|
|
|
|
|
|
for (int i = 0; i < recent.size(); i += 3) { |
|
|
for (int i = 0; i < recent.size(); i += 3) { |
|
@ -210,7 +210,6 @@ public class RecentFragment extends BaseFragment { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
topicSummaries.add(new TopicSummary(link, title, lastUser, dateTime)); |
|
|
topicSummaries.add(new TopicSummary(link, title, lastUser, dateTime)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|