From 7b912dfa6402e825fdbe6083e195adb9629d6f36 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Tue, 21 Nov 2017 15:12:13 -0500 Subject: [PATCH] Improved webtoons folder naming (#265) --- .../java/com/rarchives/ripme/ripper/rippers/WebtoonsRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/WebtoonsRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/WebtoonsRipper.java index 57fda38f..f7b74133 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/WebtoonsRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/WebtoonsRipper.java @@ -50,7 +50,7 @@ public class WebtoonsRipper extends AbstractHTMLRipper { Pattern pat = Pattern.compile("https?://www.webtoons.com/[a-zA-Z]+/[a-zA-Z]+/([a-zA-Z0-9_-]*)/[a-zA-Z0-9_-]+/\\S*"); Matcher mat = pat.matcher(url.toExternalForm()); if (mat.matches()) { - return mat.group(1); + return getHost() + "_" + mat.group(1); } return super.getAlbumTitle(url);