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:
@@ -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: "
|
||||||
|
Reference in New Issue
Block a user