From 01b21d302ba38b209fd25848d4475f725b850f85 Mon Sep 17 00:00:00 2001 From: 0834dfbd2b <0834dfbd2b@gmail.com> Date: Tue, 11 Aug 2015 20:45:51 +0200 Subject: [PATCH] Update InstagramRipper.java Make the instagram ripper to take the bigger images on instagram --- .../com/rarchives/ripme/ripper/rippers/InstagramRipper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java index 3f7386ac..3de42df0 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/InstagramRipper.java @@ -164,6 +164,8 @@ public class InstagramRipper extends AbstractJSONRipper { } else { continue; } + imageURL = imageURL.replaceAll("scontent.cdninstagram.com/hphotos-", "igcdn-photos-d-a.akamaihd.net/hphotos-ak-"); + imageURL = imageURL.replaceAll("s640x640/", ""); imageURLs.add(imageURL); if (isThisATest()) { break;