Fixed OutOfBoundsException

This commit is contained in:
Artur Bondarenko 2018-03-19 17:20:01 +02:00
parent 32c856592e
commit f11aae187b

View file

@ -301,7 +301,7 @@ public class Boot {
req.setTimeout(30000);
for (String s : req.read())
if (s.contains("href=\"/Konloch/bytecode-viewer/blob/master/libs/")) {
urlList.add("https://github.com" + s.split("<a href=")[1].split("\"")[1]);
urlList.add("https://github.com" + s.split("href=")[1].split("\"")[1]);
}
}