Skip to content

Commit

Permalink
Update Confirmed.java
Browse files Browse the repository at this point in the history
  • Loading branch information
TaYaKi71751 committed Jul 16, 2020
1 parent 4b613d2 commit 90e3b1f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/covid/tools/Confirmed.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ public HashMap<String, String> getCovidConfirmed() {
this.keys.add(doc.getElementsByClass("ca_top").get(i).childNodes().get(0).toString().replace("\n", ""));

this.info.add(doc.getElementsByClass("ca_value").get(0).childNodes().get(0).toString().replace("\n", "")
+"("+doc.getElementsByClass("inner_value").get(0).childNodes().get(0).toString().replace("\n", "")+")");
+"("
+doc.getElementsByClass("inner_value").get(0).childNodes().get(0).toString().replace("\n", "")
+"("
+doc.getElementsByClass("inner_value").get(1).childNodes().get(0).toString().replace("\n", "")
+","
+doc.getElementsByClass("inner_value").get(2).childNodes().get(0).toString().replace("\n", "")
+")"
+")");
for(int i = 0 ; i< doc.getElementsByClass("txt_ntc").size();i++)
this.info.add(doc.getElementsByClass("ca_value").get((i+1)*2).childNodes().get(0).toString().replace("\n", "")
+"("+doc.getElementsByClass("txt_ntc").get(i).childNodes().get(0).toString().replace("\n", "")+")");
Expand Down

0 comments on commit 90e3b1f

Please sign in to comment.