Remove artist commentary handling from download rewrite strategies.

This commit is contained in:
evazion
2017-05-01 21:20:49 -05:00
parent b49641f775
commit b2f62482a1
11 changed files with 7 additions and 50 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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