Improved webtoons folder naming (#265)

This commit is contained in:
cyian-1756 2017-11-21 15:12:13 -05:00 committed by metaprime
parent 0de0db7183
commit 7b912dfa64

View File

@ -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);