From 5e4df22b3c8a0ee05bd0d3fb6aa7f671940d567f Mon Sep 17 00:00:00 2001 From: 4pr0n Date: Sun, 11 May 2014 09:52:00 -0700 Subject: [PATCH] Adding .webm support to chan rippers --- .../java/com/rarchives/ripme/ripper/rippers/ChanRipper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ChanRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ChanRipper.java index c9571991..4a65edc2 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ChanRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ChanRipper.java @@ -99,8 +99,7 @@ public class ChanRipper extends AlbumRipper { logger.debug("Skipping link that contains '=http' or 'imgops.com': " + link.attr("href")); continue; } - System.err.println("URL=" + link.attr("href")); - p = Pattern.compile("^.*\\.(jpg|jpeg|png|gif)$", Pattern.CASE_INSENSITIVE); + p = Pattern.compile("^.*\\.(jpg|jpeg|png|gif|webm)$", Pattern.CASE_INSENSITIVE); m = p.matcher(link.attr("href")); if (m.matches()) { String image = link.attr("href");