mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-25 14:51:11 +02:00
Adding longer timeout to tumblr ripper
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user