1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-28 16:19:58 +02:00

Use correct index

This commit is contained in:
jpoulton
2023-10-30 05:51:45 +00:00
committed by soloturn
parent 2e3dba701e
commit 6d7503facb

View File

@@ -135,7 +135,7 @@ public class CoomerPartyRipper extends AbstractJSONRipper {
try { try {
JSONArray attachments = post.getJSONArray(KEY_ATTACHMENTS); JSONArray attachments = post.getJSONArray(KEY_ATTACHMENTS);
for (int i = 0; i < attachments.length(); i++) { for (int i = 0; i < attachments.length(); i++) {
JSONObject attachment = attachments.getJSONObject(0); JSONObject attachment = attachments.getJSONObject(i);
pullFileUrl(attachment, results); pullFileUrl(attachment, results);
} }
} catch (JSONException e) { } catch (JSONException e) {