From 7c6c2f394a0d3538e1d55c7cf0895a401f364408 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Tue, 17 Oct 2017 14:06:15 -0400 Subject: [PATCH] hbrowse ripper now get real GID --- .../java/com/rarchives/ripme/ripper/rippers/HbrowseRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/HbrowseRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/HbrowseRipper.java index 45377a3d..029f8998 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/HbrowseRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/HbrowseRipper.java @@ -34,7 +34,7 @@ public class HbrowseRipper extends AbstractHTMLRipper { @Override public String getGID(URL url) throws MalformedURLException { - Pattern p = Pattern.compile("http://www.hbrowse.com/\\d+/([a-zA-Z0-9]*)"); + Pattern p = Pattern.compile("http://www.hbrowse.com/(\\d+)/[a-zA-Z0-9]*"); Matcher m = p.matcher(url.toExternalForm()); if (m.matches()) { return m.group(1);