Add Fantia support

Also fixes a regression in 74fdeef10c
that stopped mastodon urls from being given the right priority.
This commit is contained in:
nonamethanks
2022-03-10 17:43:32 +01:00
parent 43a665a66d
commit a6549bc6fe
10 changed files with 431 additions and 2 deletions
+5
View File
@@ -311,6 +311,11 @@ module Danbooru
nil
end
# Your Fantia "_session_id" cookie. Login to Fantia then use the
# devtools to find the "_session_id" cookie.
def fantia_session_id
end
# A list of tags that should be removed when a post is replaced. Regexes allowed.
def post_replacement_tag_removals
%w[replaceme .*_sample resized upscaled downscaled md5_mismatch