Remove superfluous site name definitions and update artist url order
This commit is contained in:
@@ -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/"))
|
url.domain == "anifty.jp" || url.host == "anifty.imgix.net" || (url.host == "storage.googleapis.com" && url.path.include?("/anifty-media/"))
|
||||||
end
|
end
|
||||||
|
|
||||||
def site_name
|
|
||||||
"Anifty"
|
|
||||||
end
|
|
||||||
|
|
||||||
def parse
|
def parse
|
||||||
case [host, *path_segments]
|
case [host, *path_segments]
|
||||||
|
|
||||||
|
|||||||
@@ -27,10 +27,6 @@ module Source
|
|||||||
url.domain.in?(%w[nicovideo.jp nicoseiga.jp nicomanga.jp nimg.jp nico.ms])
|
url.domain.in?(%w[nicovideo.jp nicoseiga.jp nicomanga.jp nimg.jp nico.ms])
|
||||||
end
|
end
|
||||||
|
|
||||||
def site_name
|
|
||||||
"Nico Seiga"
|
|
||||||
end
|
|
||||||
|
|
||||||
def parse
|
def parse
|
||||||
case [host, *path_segments]
|
case [host, *path_segments]
|
||||||
|
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ class ArtistURL < ApplicationRecord
|
|||||||
def priority
|
def priority
|
||||||
sites = %w[
|
sites = %w[
|
||||||
Pixiv Twitter
|
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
|
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 Skeb Twitch Youtube
|
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
|
Amazon Circle.ms DLSite Doujinshi.org Erogamescape Mangaupdates Melonbooks Toranoana Wikipedia
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user