Merge branch 'master' of https://github.com/RipMeApp/ripme
This commit is contained in:
commit
6c39dec9d5
@ -31,7 +31,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
// http://www.konradokonski.com/wiory/comic/08182008/
|
// http://www.konradokonski.com/wiory/comic/08182008/
|
||||||
// http://freeadultcomix.com/finders-feepaid-in-full-sparrow/
|
// http://freeadultcomix.com/finders-feepaid-in-full-sparrow/
|
||||||
// http://thisis.delvecomic.com/NewWP/comic/in-too-deep/
|
// http://thisis.delvecomic.com/NewWP/comic/in-too-deep/
|
||||||
// http://tnbtu.com/comic/01-00/
|
|
||||||
// http://shipinbottle.pepsaga.com/?p=281
|
// http://shipinbottle.pepsaga.com/?p=281
|
||||||
|
|
||||||
private static List<String> explicit_domains = Arrays.asList(
|
private static List<String> explicit_domains = Arrays.asList(
|
||||||
@ -43,7 +42,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
"www.konradokonski.com",
|
"www.konradokonski.com",
|
||||||
"freeadultcomix.com",
|
"freeadultcomix.com",
|
||||||
"thisis.delvecomic.com",
|
"thisis.delvecomic.com",
|
||||||
"tnbtu.com",
|
|
||||||
"shipinbottle.pepsaga.com",
|
"shipinbottle.pepsaga.com",
|
||||||
"8muses.download",
|
"8muses.download",
|
||||||
"spyingwithlana.com"
|
"spyingwithlana.com"
|
||||||
@ -56,7 +54,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
"prismblush.com",
|
"prismblush.com",
|
||||||
"www.konradokonski.com",
|
"www.konradokonski.com",
|
||||||
"thisis.delvecomic.com",
|
"thisis.delvecomic.com",
|
||||||
"tnbtu.com",
|
|
||||||
"spyingwithlana.com"
|
"spyingwithlana.com"
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -137,12 +134,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
return true;
|
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]*)/?$");
|
Pattern shipinbottlePat = Pattern.compile("https?://shipinbottle.pepsaga.com/\\?p=([0-9]*)/?$");
|
||||||
Matcher shipinbottleMat =shipinbottlePat.matcher(url.toExternalForm());
|
Matcher shipinbottleMat =shipinbottlePat.matcher(url.toExternalForm());
|
||||||
if (shipinbottleMat.matches()) {
|
if (shipinbottleMat.matches()) {
|
||||||
@ -277,12 +268,6 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
return getHost() + "_" + comicsxxxMat.group(1);
|
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]*)/?$");
|
Pattern shipinbottlePat = Pattern.compile("https?://shipinbottle.pepsaga.com/\\?p=([0-9]*)/?$");
|
||||||
Matcher shipinbottleMat =shipinbottlePat.matcher(url.toExternalForm());
|
Matcher shipinbottleMat =shipinbottlePat.matcher(url.toExternalForm());
|
||||||
if (shipinbottleMat.matches()) {
|
if (shipinbottleMat.matches()) {
|
||||||
@ -413,13 +398,10 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
|| getHost().contains("themonsterunderthebed.net")) {
|
|| getHost().contains("themonsterunderthebed.net")) {
|
||||||
addURLToDownload(url, pageTitle + "_");
|
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
|
// If we're ripping a site where we can't get the page number/title we just rip normally
|
||||||
addURLToDownload(url, getPrefix(index));
|
addURLToDownload(url, getPrefix(index));
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,12 +86,6 @@ public class WordpressComicRipperTest extends RippersTest {
|
|||||||
testRipper(ripper);
|
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 {
|
public void test_Eightmuses_download() throws IOException {
|
||||||
WordpressComicRipper ripper = new WordpressComicRipper(
|
WordpressComicRipper ripper = new WordpressComicRipper(
|
||||||
new URL("https://8muses.download/lustomic-playkittens-josh-samuel-porn-comics-8-muses/"));
|
new URL("https://8muses.download/lustomic-playkittens-josh-samuel-porn-comics-8-muses/"));
|
||||||
|
Loading…
Reference in New Issue
Block a user