Remove tnbtu
Looks good.
This commit is contained in:
commit
0f2e6c5793
@ -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));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -86,12 +86,6 @@ public class WordpressComicRipperTest extends RippersTest {
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
public void test_tnbtu() throws IOException {
|
||||
WordpressComicRipper ripper = new WordpressComicRipper(
|
||||
new URL("http://tnbtu.com/comic/01-00/"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
public void test_Eightmuses_download() throws IOException {
|
||||
WordpressComicRipper ripper = new WordpressComicRipper(
|
||||
new URL("https://8muses.download/lustomic-playkittens-josh-samuel-porn-comics-8-muses/"));
|
||||
|
Loading…
Reference in New Issue
Block a user