[PixivBridge] Fix tags (#2799)

This commit is contained in:
Yaman Qalieh 2022-06-08 23:05:56 -04:00 committed by GitHub
parent 037d5866ca
commit 8f0d90f653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class PixivBridge extends BridgeAbstract {
$item['title'] = $result['title'];
$item['author'] = $result['userName'];
$item['timestamp'] = $result['updateDate'];
$item['tags'] = $result['tags'];
$item['categories'] = $result['tags'];
$cached_image = $this->cacheImage($result['url'], $result['id'],
array_key_exists('illustType', $result));
$item['content'] = "<img src='" . $cached_image . "' />";