From 6fab0375b0befa25c6a6021debde63540748cd91 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Fri, 29 Dec 2017 04:31:36 -0500 Subject: [PATCH] Fixed hentai.cafe regex --- .../com/rarchives/ripme/ripper/rippers/HentaiCafeRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/HentaiCafeRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/HentaiCafeRipper.java index ba2f0b83..d25bb47e 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/HentaiCafeRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/HentaiCafeRipper.java @@ -31,7 +31,7 @@ public class HentaiCafeRipper extends AbstractHTMLRipper { @Override public String getGID(URL url) throws MalformedURLException { - Pattern p = Pattern.compile("https?://hentai\\.cafe/([a-zA-Z1-9_\\-%]*)/?$"); + Pattern p = Pattern.compile("https?://hentai\\.cafe/([a-zA-Z0-9_\\-%]*)/?$"); Matcher m = p.matcher(url.toExternalForm()); if (m.matches()) { return m.group(1);