From 6321aba898f20196d8e262e784e62eae2f8483e4 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 21 Nov 2016 16:07:43 -0600 Subject: [PATCH] @slauzon: Fix xHamster ripper for image galleries. Closes 4pr0n/ripme#360. --- .../com/rarchives/ripme/ripper/rippers/XhamsterRipper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c6f9cab5..ac04b64d 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/XhamsterRipper.java @@ -46,8 +46,8 @@ public class XhamsterRipper extends AlbumRipper { } String image = thumb.attr("src"); image = image.replaceAll( - "http://p[0-9]*\\.", - "http://up."); + "https://upt.xhcdn\\.", + "http://up.xhamster."); image = image.replaceAll( "_160\\.", "_1000.");