Adding .webm support to chan rippers
This commit is contained in:
parent
a1c46746ce
commit
5e4df22b3c
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user