diff --git a/pom.xml b/pom.xml
index 5f621d4f..8ac24b14 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.rarchives.ripme
ripme
jar
- 1.2.9
+ 1.2.10
ripme
http://rip.rarchives.com
diff --git a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java
index ddeecb01..8f7a4c1f 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.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";
diff --git a/src/main/java/com/rarchives/ripme/utils/RipUtils.java b/src/main/java/com/rarchives/ripme/utils/RipUtils.java
index 8e3d5f44..65dc8a75 100644
--- a/src/main/java/com/rarchives/ripme/utils/RipUtils.java
+++ b/src/main/java/com/rarchives/ripme/utils/RipUtils.java
@@ -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);