parent
6a45cd59e9
commit
e5fffbc2c9
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
<groupId>com.rarchives.ripme</groupId>
|
||||
<artifactId>ripme</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0.30</version>
|
||||
<version>1.0.31</version>
|
||||
<name>ripme</name>
|
||||
<url>http://rip.rarchives.com</url>
|
||||
<properties>
|
||||
|
@ -129,6 +129,7 @@ public class ImgurRipper extends AlbumRipper {
|
||||
logger.info(" Retrieving " + url.toExternalForm());
|
||||
Document doc = Jsoup.connect(url.toExternalForm())
|
||||
.userAgent(USER_AGENT)
|
||||
.maxBodySize(0)
|
||||
.get();
|
||||
|
||||
// Try to use embedded JSON to retrieve images
|
||||
|
@ -150,7 +150,7 @@ public class MainWindow implements Runnable, RipStatusHandler {
|
||||
UpdateUtils.updateProgram(configUpdateLabel);
|
||||
}
|
||||
};
|
||||
SwingUtilities.invokeLater(r);
|
||||
new Thread(r).start();
|
||||
}
|
||||
|
||||
public void run() {
|
||||
@ -695,8 +695,7 @@ public class MainWindow implements Runnable, RipStatusHandler {
|
||||
|
||||
class RipButtonHandler implements ActionListener {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
Thread t = ripAlbum(ripTextfield.getText());
|
||||
SwingUtilities.invokeLater(t);
|
||||
ripAlbum(ripTextfield.getText());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ import org.jsoup.nodes.Document;
|
||||
public class UpdateUtils {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(UpdateUtils.class);
|
||||
private static final String DEFAULT_VERSION = "1.0.30";
|
||||
private static final String DEFAULT_VERSION = "1.0.31";
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user