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

Fixed hentaifoundry ripper getGID

This commit is contained in:
cyian-1756
2018-12-31 07:51:19 -05:00
parent a5ddf86d08
commit bdd5d7254e

View File

@@ -40,7 +40,7 @@ public class HentaifoundryRipper extends AbstractHTMLRipper {
Pattern p = Pattern.compile("^.*hentai-foundry\\.com/(pictures|stories)/user/([a-zA-Z0-9\\-_]+).*$"); Pattern p = Pattern.compile("^.*hentai-foundry\\.com/(pictures|stories)/user/([a-zA-Z0-9\\-_]+).*$");
Matcher m = p.matcher(url.toExternalForm()); Matcher m = p.matcher(url.toExternalForm());
if (m.matches()) { if (m.matches()) {
return m.group(1); return m.group(2);
} }
throw new MalformedURLException( throw new MalformedURLException(
"Expected hentai-foundry.com gallery format: " "Expected hentai-foundry.com gallery format: "