Increasing timeout for instagram

This commit is contained in:
4pr0n 2014-06-09 20:55:11 -07:00
parent add3c043b2
commit ad984930ab

View File

@ -93,6 +93,8 @@ public class InstagramRipper extends AlbumRipper {
this.sendUpdate(STATUS.LOADING_RESOURCE, url);
logger.info(" Retrieving " + url);
String jsonString = Jsoup.connect(url)
.userAgent(USER_AGENT)
.timeout(10000)
.ignoreContentType(true)
.execute()
.body();