1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-01-18 21:17:59 +01:00

ChanRipper: Add new image host domain for 4chan.

This commit is contained in:
metaprime 2016-12-19 19:49:36 -08:00
parent 2fee385589
commit 034f7ee181

View File

@ -18,14 +18,14 @@ import com.rarchives.ripme.ripper.rippers.ripperhelpers.ChanSite;
import com.rarchives.ripme.utils.Http;
public class ChanRipper extends AbstractHTMLRipper {
public static List<ChanSite> explicit_domains = Arrays.asList(
new ChanSite(Arrays.asList("boards.4chan.org"), Arrays.asList("4cdn.org")),
new ChanSite(Arrays.asList("boards.4chan.org"), Arrays.asList("4cdn.org", "is.4chan.org")),
new ChanSite(Arrays.asList("archive.moe"), Arrays.asList("data.archive.moe")),
new ChanSite(Arrays.asList("4archive.org"), Arrays.asList("imgur.com")),
new ChanSite(Arrays.asList("archive.4plebs.org"), Arrays.asList("img.4plebs.org")),
new ChanSite(Arrays.asList("fgts.jp"), Arrays.asList("dat.fgtsi.org"))
);
public static List<String> url_piece_blacklist = Arrays.asList(
"=http",
"http://imgops.com/",