1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-05 13:27:40 +02:00

Merge pull request #80 from cyian-1756/imagefap

[Imagefap] Now adds GID to folder name when using album name as floder name
This commit is contained in:
cyian-1756
2017-10-07 04:28:47 -04:00
committed by GitHub

View File

@@ -152,7 +152,7 @@ public class ImagefapRipper extends AbstractHTMLRipper {
Pattern p = Pattern.compile("^Porn pics of (.*) \\(Page 1\\)$"); Pattern p = Pattern.compile("^Porn pics of (.*) \\(Page 1\\)$");
Matcher m = p.matcher(title); Matcher m = p.matcher(title);
if (m.matches()) { if (m.matches()) {
return getHost() + "_" + m.group(1); return getHost() + "_" + m.group(1) + "_" + getGID(url);
} }
} catch (IOException e) { } catch (IOException e) {
// Fall back to default album naming convention // Fall back to default album naming convention