Now adds GID to folder name when using album name as floder name
This commit is contained in:
parent
55657dc0bf
commit
f05cee4c07
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user