Skip to content

Commit

Permalink
[+] Find status in the html parser
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Sep 17, 2019
1 parent eb2325f commit ee77f33
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ public static List<VeracrossCourse> parseCourses(String mainPageHtml)
builder.numericGrade(parseDouble(courseElement.selectFirst(".numeric-grade").html().replace("%", "")));
}

// Find status
builder.status(courseElement.attr("data-status"));

// Add to result
result.add(builder.build());
}
Expand Down

0 comments on commit ee77f33

Please sign in to comment.