Browse Source

more precise matching

master
Lennart Weller 8 years ago
parent
commit
e70c812e9d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      gh-pages
  2. +1
    -1
      src/main/java/de/ring0/ddg/PrivateQuery.java

+ 1
- 1
gh-pages

@ -1 +1 @@
Subproject commit 2b268ffc748839fcb8c5b4b7e810388137305098
Subproject commit ede46882bce947070e0a19f948157a371a67af0b

+ 1
- 1
src/main/java/de/ring0/ddg/PrivateQuery.java View File

@ -89,7 +89,7 @@ public class PrivateQuery {
/* prepare string for json parsing */
String result = IOUtils.toString(uc.getInputStream());
result = result.substring(result.indexOf("["), result.length() - 2);
result = result.substring(result.indexOf("'d',[")+4, result.length() - 2);
/* parse the json via gson */
PrivateResult[] results = _gson.fromJson(result, PrivateResult[].class);


Loading…
Cancel
Save