From 8df6a1612a55376a5185218303bd5c543d38e437 Mon Sep 17 00:00:00 2001 From: g-3x Date: Mon, 17 Nov 2014 01:53:21 +0100 Subject: [PATCH] Update XhamsterRipper.java This will able the ripper to detect galleries with the de.xhamster subdomain. --- .../java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java index 7704d633..bc7a2ad9 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java @@ -23,7 +23,7 @@ public class XhamsterRipper extends AlbumRipper { @Override public boolean canRip(URL url) { - Pattern p = Pattern.compile("^https?://[wm.]*xhamster\\.com/photos/gallery/[0-9]+.*$"); + Pattern p = Pattern.compile("^https?://[wmde.]*xhamster\\.com/photos/gallery/[0-9]+.*$"); Matcher m = p.matcher(url.toExternalForm()); return m.matches(); }