Browse Source

fix indice

master
Astequ 1 year ago
parent
commit
9f9cdb7d29
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/scrapper/Parser.java

+ 1
- 1
src/scrapper/Parser.java View File

@@ -18,7 +18,7 @@ public class Parser {
UE currentUE = null;
Element table = Jsoup.parse(page).select("div.affigauche2>table>tbody").get(1);
Elements ues = table.select("tr");
for (int i = 2; i < ues.size(); i++)
for (int i = 1; i < ues.size(); i++)
if (ues.get(i).hasClass("ligne_unite")) {
Elements htmlUE = ues.get(i).select("td");
if (currentUE != null)


Loading…
Cancel
Save