parent
12eda4080b
commit
23b2a398fb
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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";
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user