mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-26 07:14:38 +02:00
Merge branch 'master' of https://github.com/RipMeApp/ripme.git into hqp
This commit is contained in:
@@ -65,6 +65,10 @@ public class DeviantartRipper extends AbstractJSONRipper {
|
||||
String u = url.toExternalForm();
|
||||
if (u.contains("/gallery/")) {
|
||||
return url;
|
||||
} else if (u.contains("/favourites")) {
|
||||
return url;
|
||||
} else if (u.contains("/favorites")) {
|
||||
return url;
|
||||
}
|
||||
|
||||
if (!u.endsWith("/gallery/") && !u.endsWith("/gallery")) {
|
||||
|
@@ -872,9 +872,9 @@ public final class MainWindow implements Runnable, RipStatusHandler {
|
||||
LOGGER.error("Error while getting selected path: ", e);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
BufferedReader br = new BufferedReader(new FileReader(chosenPath));
|
||||
try (BufferedReader br = new BufferedReader(new FileReader(chosenPath))) {
|
||||
for (String line = br.readLine(); line != null; line = br.readLine()) {
|
||||
line = line.trim();
|
||||
if (line.startsWith("http")) {
|
||||
MainWindow.addUrlToQueue(line);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user