Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
still working out some issues with the wikipedia thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
FultonBrowne committed Oct 2, 2019
1 parent e4542bf commit 1c613a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/andromeda/araserver/GetInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ public String main(String mainurl) throws MalformedURLException {
String urlText = ("https://en.wikipedia.org/w/api.php?" +
"format=json" +
"&action=query" +
"&prop=extracts" +
"&prop=description" +
"&explaintext=true" +
"&titles="+"lcars");
URL url = new URL(urlText);
//System.out.println(new com.andromeda.araserver.url().main(url));
System.out.println(new com.andromeda.araserver.url().main(url));
//parse the json
JsonElement jelement = new JsonParser().parse(new com.andromeda.araserver.url().main(url));
JsonObject jobject = jelement.getAsJsonObject();
Expand Down

0 comments on commit 1c613a0

Please sign in to comment.