1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-28 16:19:58 +02:00

Removed filename length check from redditripper

This commit is contained in:
cyian-1756
2018-10-09 12:26:22 -04:00
parent 921d329825
commit cb124ae25e

View File

@@ -252,11 +252,6 @@ public class RedditRipper extends AlbumRipper {
addURLToDownload(parseRedditVideoMPD(urls.get(0).toExternalForm()), new File(savePath));
}
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);
}
} else if (urls.size() > 1) {