mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-16 19:04:05 +02:00
Adding .webm support to chan rippers
This commit is contained in:
@@ -99,8 +99,7 @@ public class ChanRipper extends AlbumRipper {
|
|||||||
logger.debug("Skipping link that contains '=http' or 'imgops.com': " + link.attr("href"));
|
logger.debug("Skipping link that contains '=http' or 'imgops.com': " + link.attr("href"));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
System.err.println("URL=" + link.attr("href"));
|
p = Pattern.compile("^.*\\.(jpg|jpeg|png|gif|webm)$", Pattern.CASE_INSENSITIVE);
|
||||||
p = Pattern.compile("^.*\\.(jpg|jpeg|png|gif)$", Pattern.CASE_INSENSITIVE);
|
|
||||||
m = p.matcher(link.attr("href"));
|
m = p.matcher(link.attr("href"));
|
||||||
if (m.matches()) {
|
if (m.matches()) {
|
||||||
String image = link.attr("href");
|
String image = link.attr("href");
|
||||||
|
Reference in New Issue
Block a user