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:35:04 +01:00
parent 43a665a66d
commit a6549bc6fe
10 changed files with 431 additions and 2 deletions

View File

@@ -352,6 +352,10 @@ class UploadsControllerTest < ActionDispatch::IntegrationTest
should_upload_successfully("https://www.plurk.com/p/om6zv4")
should_upload_successfully("https://gengar563.lofter.com/post/1e82da8c_1c98dae1b")
should_upload_successfully("https://c.fantia.jp/uploads/post/file/1070093/16faf0b1-58d8-4aac-9e86-b243063eaaf1.jpeg")
should_upload_successfully("https://fantia.jp/posts/1132267")
should_upload_successfully("https://fantia.jp/products/249638")
end
end
end