Update InstagramRipper.java

Make the instagram ripper to take the bigger images on instagram
This commit is contained in:
0834dfbd2b 2015-08-11 20:45:51 +02:00
parent 4871142252
commit 01b21d302b

View File

@ -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;