Skip to content

Commit

Permalink
Adding longer timeout to tumblr ripper
Browse files Browse the repository at this point in the history
  • Loading branch information
4pr0n committed May 7, 2014
1 parent 28b45e3 commit 9552609
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public void rip() throws IOException {
logger.info(" Retrieving " + apiURL);
Document doc = Jsoup.connect(apiURL)
.ignoreContentType(true)
.timeout(10 * 1000)
.header("User-agent", USER_AGENT)
.get();
try {
Expand Down

0 comments on commit 9552609

Please sign in to comment.