From 6d7503facb3bd81e63dd0c0eac4252081f449e2d Mon Sep 17 00:00:00 2001 From: jpoulton Date: Mon, 30 Oct 2023 05:51:45 +0000 Subject: [PATCH] Use correct index --- .../com/rarchives/ripme/ripper/rippers/CoomerPartyRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/CoomerPartyRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/CoomerPartyRipper.java index 5248d633..e15bb643 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/CoomerPartyRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/CoomerPartyRipper.java @@ -135,7 +135,7 @@ public class CoomerPartyRipper extends AbstractJSONRipper { try { JSONArray attachments = post.getJSONArray(KEY_ATTACHMENTS); for (int i = 0; i < attachments.length(); i++) { - JSONObject attachment = attachments.getJSONObject(0); + JSONObject attachment = attachments.getJSONObject(i); pullFileUrl(attachment, results); } } catch (JSONException e) {