From 19a88b9d3304ec5448199c8ae5d1b396800c44c9 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sun, 19 Mar 2017 13:35:24 -0400 Subject: [PATCH 1/2] Added xhamsters new cdn domain --- .../java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java | 1 + 1 file changed, 1 insertion(+) 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 ac04b64d..c5f0cab4 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java @@ -48,6 +48,7 @@ public class XhamsterRipper extends AlbumRipper { image = image.replaceAll( "https://upt.xhcdn\\.", "http://up.xhamster."); + image = image.replaceAll("ept.xhcdn", "ep.xhamster"); image = image.replaceAll( "_160\\.", "_1000."); From 23e464d0c102c9fc2447e840a770028447e1d606 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Fri, 24 Mar 2017 17:58:17 -0400 Subject: [PATCH 2/2] improved xhamster cdn replacing regex --- .../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 c5f0cab4..20fdb955 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java @@ -48,7 +48,7 @@ public class XhamsterRipper extends AlbumRipper { image = image.replaceAll( "https://upt.xhcdn\\.", "http://up.xhamster."); - image = image.replaceAll("ept.xhcdn", "ep.xhamster"); + image = image.replaceAll("ept\\.xhcdn", "ep.xhamster"); image = image.replaceAll( "_160\\.", "_1000.");