1.0.85 - Fix for Modelmayhem ripper

Closes #104
This commit is contained in:
4pr0n 2014-08-15 21:55:24 -07:00
parent 084f0e5eaa
commit f8935af7d6
3 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<groupId>com.rarchives.ripme</groupId> <groupId>com.rarchives.ripme</groupId>
<artifactId>ripme</artifactId> <artifactId>ripme</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.0.84</version> <version>1.0.85</version>
<name>ripme</name> <name>ripme</name>
<url>http://rip.rarchives.com</url> <url>http://rip.rarchives.com</url>
<properties> <properties>

View File

@ -58,6 +58,7 @@ public class ModelmayhemRipper extends AlbumRipper {
resp = Jsoup.connect("http://www.modelmayhem.com/includes/js/auth.php") resp = Jsoup.connect("http://www.modelmayhem.com/includes/js/auth.php")
.cookies(cookies) .cookies(cookies)
.ignoreContentType(true)
.referrer(ref) .referrer(ref)
.userAgent(USER_AGENT) .userAgent(USER_AGENT)
.method(Method.GET) .method(Method.GET)

View File

@ -21,7 +21,7 @@ import com.rarchives.ripme.utils.Utils;
public class UpdateUtils { public class UpdateUtils {
private static final Logger logger = Logger.getLogger(UpdateUtils.class); 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 updateJsonURL = "http://rarchives.com/ripme.json";
private static final String updateJarURL = "http://rarchives.com/ripme.jar"; private static final String updateJarURL = "http://rarchives.com/ripme.jar";
private static final String mainFileName = "ripme.jar"; private static final String mainFileName = "ripme.jar";