tnbtu ripper now sets referrer header
This commit is contained in:
parent
1dadd26e05
commit
fdf3e7c68d
@ -327,8 +327,14 @@ public class WordpressComicRipper extends AbstractHTMLRipper {
|
|||||||
|| getHost().contains("themonsterunderthebed.net")) {
|
|| getHost().contains("themonsterunderthebed.net")) {
|
||||||
addURLToDownload(url, pageTitle + "_");
|
addURLToDownload(url, pageTitle + "_");
|
||||||
}
|
}
|
||||||
// If we're ripping a site where we can't get the page number/title we just rip normally
|
if (getHost().contains("tnbtu.com")) {
|
||||||
addURLToDownload(url, getPrefix(index));
|
// 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));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user