mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-29 08:40:37 +02:00
Removed filename length check from redditripper
This commit is contained in:
@@ -252,11 +252,6 @@ public class RedditRipper extends AlbumRipper {
|
|||||||
addURLToDownload(parseRedditVideoMPD(urls.get(0).toExternalForm()), new File(savePath));
|
addURLToDownload(parseRedditVideoMPD(urls.get(0).toExternalForm()), new File(savePath));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// File names longer than this won't work on ext4 file systems
|
|
||||||
if (title.length() >= 235) {
|
|
||||||
LOGGER.info("File name is more than 254 chars, shortening");
|
|
||||||
title = title.substring(0,235);
|
|
||||||
}
|
|
||||||
addURLToDownload(urls.get(0), id + title, "", theUrl, null);
|
addURLToDownload(urls.get(0), id + title, "", theUrl, null);
|
||||||
}
|
}
|
||||||
} else if (urls.size() > 1) {
|
} else if (urls.size() > 1) {
|
||||||
|
Reference in New Issue
Block a user