From f8935af7d62976ea5055f6cc0d762727d2806311 Mon Sep 17 00:00:00 2001 From: 4pr0n Date: Fri, 15 Aug 2014 21:55:24 -0700 Subject: [PATCH] 1.0.85 - Fix for Modelmayhem ripper Closes #104 --- pom.xml | 2 +- .../com/rarchives/ripme/ripper/rippers/ModelmayhemRipper.java | 1 + src/main/java/com/rarchives/ripme/ui/UpdateUtils.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 9d7b5d46..1bb04e9a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.rarchives.ripme ripme jar - 1.0.84 + 1.0.85 ripme http://rip.rarchives.com diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ModelmayhemRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ModelmayhemRipper.java index d660f831..e4c468ca 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ModelmayhemRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ModelmayhemRipper.java @@ -58,6 +58,7 @@ public class ModelmayhemRipper extends AlbumRipper { resp = Jsoup.connect("http://www.modelmayhem.com/includes/js/auth.php") .cookies(cookies) + .ignoreContentType(true) .referrer(ref) .userAgent(USER_AGENT) .method(Method.GET) diff --git a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java index 5c0872cd..c7a267f8 100644 --- a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java +++ b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java @@ -21,7 +21,7 @@ import com.rarchives.ripme.utils.Utils; public class UpdateUtils { private static final Logger logger = Logger.getLogger(UpdateUtils.class); - private static final String DEFAULT_VERSION = "1.0.84"; + private static final String DEFAULT_VERSION = "1.0.85"; private static final String updateJsonURL = "http://rarchives.com/ripme.json"; private static final String updateJarURL = "http://rarchives.com/ripme.jar"; private static final String mainFileName = "ripme.jar";