diff --git a/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java b/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java index a581a7f..546a874 100644 --- a/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java +++ b/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java @@ -56,7 +56,12 @@ public class OFResultSet { public Map getData() { - return null; + String type = (String) this.item.getQuery().getQueryInfo().get("parseType"); + if (type.equals("row")) { + return parseRow(); + } else { + return parseCol(); + } } public Map parseCol() {