Remove artist commentary handling from download rewrite strategies.
This commit is contained in:
@@ -53,11 +53,6 @@ module Sources
|
||||
false
|
||||
end
|
||||
|
||||
# Determines whether or not to automatically create an ArtistCommentary
|
||||
def has_artist_commentary?
|
||||
false
|
||||
end
|
||||
|
||||
def normalize_for_artist_finder!
|
||||
url
|
||||
end
|
||||
|
||||
@@ -41,10 +41,6 @@ module Sources
|
||||
"http://www.pixiv.net"
|
||||
end
|
||||
|
||||
def has_artist_commentary?
|
||||
@artist_commentary_desc.present?
|
||||
end
|
||||
|
||||
def normalized_for_artist_finder?
|
||||
url =~ %r!https?://img\.pixiv\.net/img/#{MONIKER}/?$!i
|
||||
end
|
||||
|
||||
@@ -26,10 +26,6 @@ module Sources
|
||||
"http://www.pixiv.net"
|
||||
end
|
||||
|
||||
def has_artist_commentary?
|
||||
@artist_commentary_desc.present?
|
||||
end
|
||||
|
||||
def normalizable_for_artist_finder?
|
||||
true
|
||||
end
|
||||
|
||||
@@ -30,10 +30,6 @@ module Sources::Strategies
|
||||
@artist_commentary_desc = attrs[:text]
|
||||
end
|
||||
|
||||
def has_artist_commentary?
|
||||
@artist_commentary_desc.present?
|
||||
end
|
||||
|
||||
def image_urls
|
||||
TwitterService.new.image_urls(url)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user