Remove superfluous site name definitions and update artist url order

This commit is contained in:
nonamethanks
2022-11-05 20:03:07 +01:00
parent fc4d620002
commit 758b14ad46
3 changed files with 2 additions and 10 deletions

View File

@@ -7,10 +7,6 @@ class Source::URL::Anifty < Source::URL
url.domain == "anifty.jp" || url.host == "anifty.imgix.net" || (url.host == "storage.googleapis.com" && url.path.include?("/anifty-media/"))
end
def site_name
"Anifty"
end
def parse
case [host, *path_segments]

View File

@@ -27,10 +27,6 @@ module Source
url.domain.in?(%w[nicovideo.jp nicoseiga.jp nicomanga.jp nimg.jp nico.ms])
end
def site_name
"Nico Seiga"
end
def parse
case [host, *path_segments]

View File

@@ -93,8 +93,8 @@ class ArtistURL < ApplicationRecord
def priority
sites = %w[
Pixiv Twitter
Anifty ArtStation Baraag BCY Booth Deviant\ Art Hentai\ Foundry Fantia Furaffinity Foundation Lofter Nico\ Seiga Nijie Pawoo Fanbox Pixiv\ Sketch Plurk Tinami Tumblr Weibo
Ask.fm Facebook FC2 Gumroad Instagram Ko-fi Livedoor Mihuashi Mixi.jp Patreon Piapro.jp Picarto Privatter Sakura.ne.jp Stickam Skeb Twitch Youtube
Anifty ArtStation Baraag Bilibili BCY Booth Deviant\ Art Fantia Foundation Furaffinity Hentai\ Foundry Lofter Newgrounds Nico\ Seiga Nijie Pawoo Fanbox Pixiv\ Sketch Plurk Reddit Skeb Tinami Tumblr Weibo
Ask.fm Facebook FC2 Gumroad Instagram Ko-fi Livedoor Mihuashi Mixi.jp Patreon Piapro.jp Picarto Privatter Sakura.ne.jp Stickam Twitch Youtube
Amazon Circle.ms DLSite Doujinshi.org Erogamescape Mangaupdates Melonbooks Toranoana Wikipedia
]