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;