Add warning when Pixiv post is a gallery of multiple images

This commit is contained in:
Toks
2014-06-13 16:33:38 -04:00
parent cb1f00b448
commit 3230ab8781
7 changed files with 28 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ module Sources
module Strategies
class Base
attr_reader :url
attr_reader :artist_name, :profile_url, :image_url, :tags
attr_reader :artist_name, :profile_url, :image_url, :tags, :page_count
def self.url_match?(url)
false
@@ -10,6 +10,7 @@ module Sources
def initialize(url)
@url = url
@page_count = 1
end
# No remote calls are made until this method is called.