From f05cee4c07927907d2115bc667181af6d8d252e5 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Tue, 12 Sep 2017 00:27:57 -0400 Subject: [PATCH] Now adds GID to folder name when using album name as floder name --- .../com/rarchives/ripme/ripper/rippers/ImagefapRipper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ImagefapRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ImagefapRipper.java index b405caff..8e0aba13 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ImagefapRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ImagefapRipper.java @@ -152,7 +152,7 @@ public class ImagefapRipper extends AbstractHTMLRipper { Pattern p = Pattern.compile("^Porn pics of (.*) \\(Page 1\\)$"); Matcher m = p.matcher(title); if (m.matches()) { - return getHost() + "_" + m.group(1); + return getHost() + "_" + m.group(1) + "_" + getGID(url); } } catch (IOException e) { // Fall back to default album naming convention @@ -160,4 +160,4 @@ public class ImagefapRipper extends AbstractHTMLRipper { return super.getAlbumTitle(url); } -} \ No newline at end of file +}