pixiv: temp disable source strategy (#4152).

Disable use of the Pixiv API until we get it working again.
This commit is contained in:
evazion
2019-09-02 11:13:00 -05:00
parent 95b8420ba2
commit e781c6b608
2 changed files with 7 additions and 1 deletions

View File

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