Chore: some cleanup

This commit is contained in:
2025-06-10 15:51:00 +09:00
parent 815a9eb863
commit 6a349dddfa
3 changed files with 0 additions and 3 deletions

View File

@@ -31,7 +31,6 @@ public class AyayaBot {
} catch (InterruptedException e) {
System.err.println("[ERR > AyayaBot.main()] Failed to Init\n" + e.getMessage());
}
}
}

View File

@@ -15,7 +15,6 @@ public class AyayaUtils {
conn.setRequestMethod("GET");
conn.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36");
conn.setRequestProperty("Accept", "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8");
conn.setRequestProperty("Referer", "https://hitomi.la/");
if (conn.getResponseCode() != HttpURLConnection.HTTP_OK) {

View File

@@ -30,7 +30,6 @@ public class Hitomi {
for (JsonNode node : files) {
String fileHash = node.get("hash").asText();
// Boolean hasAvif = node.get("hasavif").asBoolean();
galleryData.add(fileHash);
}