Removed support for tnbtu.com as it is no longer a wordpress comic site
This commit is contained in:
parent
d58a80b5e6
commit
d16b997094
@ -31,7 +31,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
||||
// http://www.konradokonski.com/wiory/comic/08182008/
|
||||
// http://freeadultcomix.com/finders-feepaid-in-full-sparrow/
|
||||
// http://thisis.delvecomic.com/NewWP/comic/in-too-deep/
|
||||
// http://tnbtu.com/comic/01-00/
|
||||
// http://shipinbottle.pepsaga.com/?p=281
|
||||
|
||||
private static List<String> explicit_domains = Arrays.asList(
|
||||
@ -43,7 +42,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
||||
"www.konradokonski.com",
|
||||
"freeadultcomix.com",
|
||||
"thisis.delvecomic.com",
|
||||
"tnbtu.com",
|
||||
"shipinbottle.pepsaga.com",
|
||||
"8muses.download",
|
||||
"spyingwithlana.com"
|
||||
@ -56,7 +54,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
||||
"prismblush.com",
|
||||
"www.konradokonski.com",
|
||||
"thisis.delvecomic.com",
|
||||
"tnbtu.com",
|
||||
"spyingwithlana.com"
|
||||
);
|
||||
|
||||
@ -137,12 +134,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
||||
return true;
|
||||
}
|
||||
|
||||
Pattern tnbtuPat = Pattern.compile("https?://tnbtu.com/comic/([0-9_\\-]*)/?$");
|
||||
Matcher tnbtuMat = tnbtuPat.matcher(url.toExternalForm());
|
||||
if (tnbtuMat.matches()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Pattern shipinbottlePat = Pattern.compile("https?://shipinbottle.pepsaga.com/\\?p=([0-9]*)/?$");
|
||||
Matcher shipinbottleMat =shipinbottlePat.matcher(url.toExternalForm());
|
||||
if (shipinbottleMat.matches()) {
|
||||
@ -277,12 +268,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
||||
return getHost() + "_" + comicsxxxMat.group(1);
|
||||
}
|
||||
|
||||
Pattern tnbtuPat = Pattern.compile("https?://tnbtu.com/comic/([0-9_\\-]*)/?$");
|
||||
Matcher tnbtuMat = tnbtuPat.matcher(url.toExternalForm());
|
||||
if (tnbtuMat.matches()) {
|
||||
return getHost() + "_" + "The_Night_Belongs_to_Us";
|
||||
}
|
||||
|
||||
Pattern shipinbottlePat = Pattern.compile("https?://shipinbottle.pepsaga.com/\\?p=([0-9]*)/?$");
|
||||
Matcher shipinbottleMat =shipinbottlePat.matcher(url.toExternalForm());
|
||||
if (shipinbottleMat.matches()) {
|
||||
@ -413,13 +398,10 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
||||
|| getHost().contains("themonsterunderthebed.net")) {
|
||||
addURLToDownload(url, pageTitle + "_");
|
||||
}
|
||||
if (getHost().contains("tnbtu.com")) {
|
||||
// We need to set the referrer header for tnbtu
|
||||
addURLToDownload(url, getPrefix(index), "","http://www.tnbtu.com/comic", null);
|
||||
} else {
|
||||
// If we're ripping a site where we can't get the page number/title we just rip normally
|
||||
addURLToDownload(url, getPrefix(index));
|
||||
}
|
||||
|
||||
// If we're ripping a site where we can't get the page number/title we just rip normally
|
||||
addURLToDownload(url, getPrefix(index));
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user