KomifloResolverに画像の取得を追加
This commit is contained in:
parent
ef563f8641
commit
48ddac8c85
@ -21,6 +21,7 @@ class KomifloResolver implements Resolver
|
||||
$metadata->description = ($json['content']['attributes']['artists']['children'][0]['data']['name'] ?? '?') .
|
||||
' - ' .
|
||||
($json['content']['parents'][0]['data']['title'] ?? '?');
|
||||
$metadata->image = $json['content']['cdn_public'] . "/564_mobile_large_3x/" . $json['content']['named_imgs']['cover']['filename'] . $json['content']['signature'];
|
||||
|
||||
return $metadata;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user