Increasing timeout for instagram
This commit is contained in:
parent
add3c043b2
commit
ad984930ab
@ -93,6 +93,8 @@ public class InstagramRipper extends AlbumRipper {
|
|||||||
this.sendUpdate(STATUS.LOADING_RESOURCE, url);
|
this.sendUpdate(STATUS.LOADING_RESOURCE, url);
|
||||||
logger.info(" Retrieving " + url);
|
logger.info(" Retrieving " + url);
|
||||||
String jsonString = Jsoup.connect(url)
|
String jsonString = Jsoup.connect(url)
|
||||||
|
.userAgent(USER_AGENT)
|
||||||
|
.timeout(10000)
|
||||||
.ignoreContentType(true)
|
.ignoreContentType(true)
|
||||||
.execute()
|
.execute()
|
||||||
.body();
|
.body();
|
||||||
|
Loading…
Reference in New Issue
Block a user