pixiv: update tag search URL to https://www.pixiv.net/tags/{name}/artworks.
This commit is contained in:
@@ -105,8 +105,7 @@ module Source
|
|||||||
|
|
||||||
def tags
|
def tags
|
||||||
tags = api_illust.dig(:tags, :tags).to_a.map do |item|
|
tags = api_illust.dig(:tags, :tags).to_a.map do |item|
|
||||||
tag = item[:tag]
|
[item[:tag], "https://www.pixiv.net/tags/#{CGI.escape(item[:tag])}/artworks"]
|
||||||
[tag, "https://www.pixiv.net/search.php?s_mode=s_tag_full&#{{word: tag}.to_param}"]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if api_illust["aiType"] == 2
|
if api_illust["aiType"] == 2
|
||||||
|
|||||||
Reference in New Issue
Block a user