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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user