From 98b81c0915b115c579d2e69e6534972dd152c4cc Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Wed, 24 Oct 2018 02:44:23 -0400 Subject: [PATCH] fixed filing naming issue --- .../com/rarchives/ripme/ripper/rippers/DuckmoviesRipper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/DuckmoviesRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/DuckmoviesRipper.java index b20466ba..48c1856c 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/DuckmoviesRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/DuckmoviesRipper.java @@ -1,5 +1,6 @@ package com.rarchives.ripme.ripper.rippers; +import com.rarchives.ripme.ripper.AbstractRipper; import com.rarchives.ripme.ripper.AbstractSingleFileRipper; import com.rarchives.ripme.utils.Http; import org.jsoup.nodes.Document; @@ -130,7 +131,7 @@ public class DuckmoviesRipper extends AbstractSingleFileRipper { @Override public void downloadURL(URL url, int index) { - addURLToDownload(url, getPrefix(index)); + addURLToDownload(url, "", "", null, null, AbstractRipper.getFileName(url, null, null).replaceAll("%20", "_")); } @Override