public Page getPage(int pageNum, String lastMod) throws ContentGetException, ContentParseException {
String[] wgetReply = this.wgetText(this.linkPage(pageNum), lastMod);
String pageText = wgetReply[0];
String newLastMod = wgetReply[1];
PageJson pageJson;
try {
pageJson = GSON.fromJson(pageText, PageJson.class);
} catch(JsonSyntaxException ex) {
throw new ContentGetException("API returned invalid JSON", ex);
}
Page p = new Page(pageNum);
Topic t = null;
for(TopicJson tj : pageJson.getThreads()) {
for(PostJson pj : tj.getPosts()) {
if(pj.getResto() == 0) {
t = this.makeThreadFromJson(pj);
p.addThread(t);
} else {