removed default source
This commit is contained in:
@@ -4,7 +4,7 @@ module Sources
|
||||
delegate :get, :site_name, :artist_name, :artist_alias, :profile_url, :image_url, :tags, :artist_record, :unique_id, :to => :strategy
|
||||
|
||||
def self.strategies
|
||||
[Strategies::NicoSeiga, Strategies::Pixa, Strategies::Pixiv, Strategies::Tinami, Strategies::Default]
|
||||
[Strategies::NicoSeiga, Strategies::Pixa, Strategies::Pixiv, Strategies::Tinami]
|
||||
end
|
||||
|
||||
def initialize(url)
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
module Sources
|
||||
module Strategies
|
||||
class Default < Base
|
||||
def site_name
|
||||
"?"
|
||||
end
|
||||
|
||||
def artist_name
|
||||
"?"
|
||||
end
|
||||
|
||||
def profile_url
|
||||
url
|
||||
end
|
||||
|
||||
def image_url
|
||||
url
|
||||
end
|
||||
|
||||
def tags
|
||||
[]
|
||||
end
|
||||
|
||||
protected
|
||||
def create_agent
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user