pixiv: temp disable source strategy (#4152).
Disable use of the Pixiv API until we get it working again.
This commit is contained in:
@@ -350,6 +350,8 @@ module Sources
|
||||
memoize :agent
|
||||
|
||||
def metadata
|
||||
return PixivApiClient::WorkResponse.new(url)
|
||||
|
||||
if novel_id.present?
|
||||
return PixivApiClient.new.novel(novel_id)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user