Added support for incase.buttsimthy.com
This commit is contained in:
parent
1480bbe4fb
commit
4b7db493d1
@ -37,6 +37,7 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
private static List<String> explicit_domains = Arrays.asList(
|
private static List<String> explicit_domains = Arrays.asList(
|
||||||
"www.totempole666.com",
|
"www.totempole666.com",
|
||||||
"buttsmithy.com",
|
"buttsmithy.com",
|
||||||
|
"incase.buttsmithy.com",
|
||||||
"themonsterunderthebed.net",
|
"themonsterunderthebed.net",
|
||||||
"prismblush.com",
|
"prismblush.com",
|
||||||
"www.konradokonski.com",
|
"www.konradokonski.com",
|
||||||
@ -87,6 +88,12 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Pattern buttsmithyIncasePat = Pattern.compile("https?://incase.buttsmithy.com/comic/([a-zA-Z0-9_-]*)/?$");
|
||||||
|
Matcher buttsmithyIncaseMat = buttsmithyIncasePat.matcher(url.toExternalForm());
|
||||||
|
if (buttsmithyIncaseMat.matches()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
Pattern theMonsterUnderTheBedPat = Pattern.compile("https?://themonsterunderthebed.net/\\?comic=([a-zA-Z0-9_-]*)/?$");
|
Pattern theMonsterUnderTheBedPat = Pattern.compile("https?://themonsterunderthebed.net/\\?comic=([a-zA-Z0-9_-]*)/?$");
|
||||||
Matcher theMonsterUnderTheBedMat = theMonsterUnderTheBedPat.matcher(url.toExternalForm());
|
Matcher theMonsterUnderTheBedMat = theMonsterUnderTheBedPat.matcher(url.toExternalForm());
|
||||||
if (theMonsterUnderTheBedMat.matches()) {
|
if (theMonsterUnderTheBedMat.matches()) {
|
||||||
@ -178,6 +185,12 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
return getHost() + "_" + prismblushMat.group(1);
|
return getHost() + "_" + prismblushMat.group(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Pattern buttsmithyIncasePat = Pattern.compile("https?://incase.buttsmithy.com/comic/([a-zA-Z0-9_-]*)/?$");
|
||||||
|
Matcher buttsmithyIncaseMat = buttsmithyIncasePat.matcher(url.toExternalForm());
|
||||||
|
if (buttsmithyIncaseMat.matches()) {
|
||||||
|
return getHost() + "_" + buttsmithyIncaseMat.group(1).replaceAll("-page-\\d", "").replaceAll("-pg-\\d", "");
|
||||||
|
}
|
||||||
|
|
||||||
Pattern comicsxxxPat = Pattern.compile("https?://comics-xxx.com/([a-zA-Z0-9_\\-]*)/?$");
|
Pattern comicsxxxPat = Pattern.compile("https?://comics-xxx.com/([a-zA-Z0-9_\\-]*)/?$");
|
||||||
Matcher comicsxxxMat = comicsxxxPat.matcher(url.toExternalForm());
|
Matcher comicsxxxMat = comicsxxxPat.matcher(url.toExternalForm());
|
||||||
if (comicsxxxMat.matches()) {
|
if (comicsxxxMat.matches()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user