feature: r-18 filter

This commit is contained in:
2020-05-15 00:45:47 +08:00
parent 90816bc57e
commit f83f533f5f
9 changed files with 44 additions and 8 deletions

View File

@@ -442,7 +442,8 @@ namespace Pixiview.Utils
public static class Configs
{
public const string IsProxiedKey = "isProxied";
public const string IsOnR18Key = "is_on_r18";
public const string IsProxiedKey = "is_proxied";
public const string HostKey = "host";
public const string PortKey = "port";
public const string QueryModeKey = "query_mode";
@@ -455,6 +456,7 @@ namespace Pixiview.Utils
public const string RefererIllustRanking = "https://www.pixiv.net/ranking.php?{0}";
public const string RefererIllustUser = "https://www.pixiv.net/users/{0}/illustrations";
public static bool IsOnR18;
public static WebProxy Proxy;
private static string Prefix => Proxy == null ?
"https://hk.tsanie.us/reverse/" :