Adding longer timeout to tumblr ripper
This commit is contained in:
parent
28b45e34ed
commit
9552609d99
@ -65,6 +65,7 @@ public class TumblrRipper extends AlbumRipper {
|
|||||||
logger.info(" Retrieving " + apiURL);
|
logger.info(" Retrieving " + apiURL);
|
||||||
Document doc = Jsoup.connect(apiURL)
|
Document doc = Jsoup.connect(apiURL)
|
||||||
.ignoreContentType(true)
|
.ignoreContentType(true)
|
||||||
|
.timeout(10 * 1000)
|
||||||
.header("User-agent", USER_AGENT)
|
.header("User-agent", USER_AGENT)
|
||||||
.get();
|
.get();
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user