1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-16 10:54:09 +02:00

Adding .webm support to chan rippers

This commit is contained in:
4pr0n
2014-05-11 09:52:00 -07:00
parent a1c46746ce
commit 5e4df22b3c

View File

@@ -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");