mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-12 17:04:04 +02:00
Merge pull request #875 from cyian-1756/redditConfigChanges
Added config option to allow for using subdirs with the reddit ripper
This commit is contained in:
@@ -225,13 +225,14 @@ public class RedditRipper extends AlbumRipper {
|
||||
} catch (MalformedURLException e) {
|
||||
return;
|
||||
}
|
||||
|
||||
String subdirectory = "";
|
||||
if (Utils.getConfigBoolean("album_titles.save", true)) {
|
||||
subdirectory = title;
|
||||
title = "-" + title + "-";
|
||||
} else {
|
||||
title = "";
|
||||
if (Utils.getConfigBoolean("reddit.use_sub_dirs", true)) {
|
||||
if (Utils.getConfigBoolean("album_titles.save", true)) {
|
||||
subdirectory = title;
|
||||
title = "-" + title + "-";
|
||||
} else {
|
||||
title = "";
|
||||
}
|
||||
}
|
||||
|
||||
List<URL> urls = RipUtils.getFilesFromURL(originalURL);
|
||||
|
Reference in New Issue
Block a user