Improved webtoons folder naming (#265)
This commit is contained in:
parent
0de0db7183
commit
7b912dfa64
@ -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*");
|
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());
|
Matcher mat = pat.matcher(url.toExternalForm());
|
||||||
if (mat.matches()) {
|
if (mat.matches()) {
|
||||||
return mat.group(1);
|
return getHost() + "_" + mat.group(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.getAlbumTitle(url);
|
return super.getAlbumTitle(url);
|
||||||
|
Loading…
Reference in New Issue
Block a user