pixiv: temp disable source strategy (#4152).
Disable use of the Pixiv API until we get it working again.
This commit is contained in:
@@ -29,7 +29,11 @@ class PixivApiClient
|
||||
attr_reader :json, :pages, :name, :moniker, :user_id, :page_count, :tags
|
||||
attr_reader :artist_commentary_title, :artist_commentary_desc
|
||||
|
||||
def initialize(json)
|
||||
def initialize(url)
|
||||
@tags = []
|
||||
@pages = [url]
|
||||
return
|
||||
|
||||
@json = json
|
||||
@name = json["user"]["name"]
|
||||
@user_id = json["user"]["id"]
|
||||
|
||||
Reference in New Issue
Block a user