Merge pull request #243 from 0834dfbd2b/patch-1

Update InstagramRipper.java to support bigger images.
This commit is contained in:
4_pr0n 2015-09-17 03:24:36 -07:00
commit 4cb949a06e

View File

@ -164,6 +164,8 @@ public class InstagramRipper extends AbstractJSONRipper {
} else { } else {
continue; continue;
} }
imageURL = imageURL.replaceAll("scontent.cdninstagram.com/hphotos-", "igcdn-photos-d-a.akamaihd.net/hphotos-ak-");
imageURL = imageURL.replaceAll("s640x640/", "");
imageURLs.add(imageURL); imageURLs.add(imageURL);
if (isThisATest()) { if (isThisATest()) {
break; break;