From ed5282cea17ef86ff2ec2743b7d9051b5b64b18d Mon Sep 17 00:00:00 2001 From: Flameish Date: Thu, 21 May 2020 21:53:48 +0200 Subject: [PATCH] Added Foxaholic --- src/files/siteSelector.json | 5 ++++- src/grabber/HostSettings.java | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/files/siteSelector.json b/src/files/siteSelector.json index 1bcb658..aef3518 100644 --- a/src/files/siteSelector.json +++ b/src/files/siteSelector.json @@ -457,7 +457,10 @@ "blacklistedTags": [ "center", "meta", - "script" + "script", + "iframe", + ".google-auto-placed", + ".sharedaddy" ], "bookTitleSelector": ".post-title h1", "bookDescSelector": ".summary__content", diff --git a/src/grabber/HostSettings.java b/src/grabber/HostSettings.java index c4fda29..4103df8 100644 --- a/src/grabber/HostSettings.java +++ b/src/grabber/HostSettings.java @@ -14,7 +14,7 @@ import java.util.*; public class HostSettings { - private static String[] headerlessBrowserWebsites = {"CreativeNovels", "FicFun", "Dreame", "WuxiaWorld.site"}; + private static String[] headerlessBrowserWebsites = {"CreativeNovels", "FicFun", "Dreame", "WuxiaWorld.site","Foxaholic"}; private static String[] noHeaderlessBrowserWebsites = {"WattPad", "FanFiction", "FanFiktion"}; public static List headerlessBrowserWebsitesList = Arrays.asList(headerlessBrowserWebsites); public static List noHeaderlessBrowserWebsitesList = Arrays.asList(noHeaderlessBrowserWebsites);