add exception for direct links to pixiv fanbox images
This commit is contained in:
@@ -148,7 +148,11 @@ class PixivApiClient
|
||||
end
|
||||
|
||||
def pages
|
||||
json["body"]["body"]["images"].map {|x| x["originalUrl"]}
|
||||
if json["body"]["body"]
|
||||
json["body"]["body"]["images"].map {|x| x["originalUrl"]}
|
||||
else
|
||||
[]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user