Adding longer timeout to tumblr ripper

This commit is contained in:
4pr0n 2014-05-06 22:12:37 -07:00
parent 28b45e34ed
commit 9552609d99

View File

@ -65,6 +65,7 @@ public class TumblrRipper extends AlbumRipper {
logger.info(" Retrieving " + apiURL);
Document doc = Jsoup.connect(apiURL)
.ignoreContentType(true)
.timeout(10 * 1000)
.header("User-agent", USER_AGENT)
.get();
try {