1.2.10 - Extract imgur /gallery/ images

Closes #316
This commit is contained in:
4pr0n 2016-04-16 19:23:08 -07:00
parent 12eda4080b
commit 23b2a398fb
3 changed files with 6 additions and 2 deletions

View File

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

View File

@ -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.2.9";
private static final String DEFAULT_VERSION = "1.2.10";
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";

View File

@ -106,6 +106,10 @@ public class RipUtils {
result.add(new URL(el.attr("content")));
return result;
}
else if (el.attr("name").equals("twitter:image")) {
result.add(new URL(el.attr("content")));
return result;
}
}
} catch (IOException ex) {
logger.error("[!] Error", ex);