Add warning when Pixiv post is a gallery of multiple images
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user