Merge pull request #193 from shikorism/fix/pixiv-resolver-tag-filter

PixivResolverのタグ抽出がおそらく「R-18」を無視できていないのを修正
This commit is contained in:
shibafu 2019-06-01 00:42:48 +09:00 committed by GitHub
commit 35cc0c6357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ class PixivResolver implements Resolver
}
// 一部の固定キーワードは無視
if (array_search($keyword, ['R-18', 'イラスト', 'pixiv', 'ピクシブ'], true)) {
if (array_search($keyword, ['R-18', 'イラスト', 'pixiv', 'ピクシブ'], true) !== false) {
continue;
}