1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-26 15:24:51 +02:00

Removed unneeded debug info

This commit is contained in:
cyian-1756
2019-01-09 15:43:39 -05:00
parent 225c05e2a2
commit 69758be0fb

View File

@@ -56,7 +56,6 @@ public class HitomiRipper extends AbstractHTMLRipper {
public List<String> getURLsFromPage(Document doc) { public List<String> getURLsFromPage(Document doc) {
List<String> result = new ArrayList<>(); List<String> result = new ArrayList<>();
String json = doc.text().replaceAll("var galleryinfo =", ""); String json = doc.text().replaceAll("var galleryinfo =", "");
LOGGER.info(json);
JSONArray json_data = new JSONArray(json); JSONArray json_data = new JSONArray(json);
for (int i = 0; i < json_data.length(); i++) { for (int i = 0; i < json_data.length(); i++) {
result.add("https://ba.hitomi.la/galleries/" + galleryId + "/" + json_data.getJSONObject(i).getString("name")); result.add("https://ba.hitomi.la/galleries/" + galleryId + "/" + json_data.getJSONObject(i).getString("name"));