t.komiflo.comを利用したサムネイルの取得を追加 (#106)

This commit is contained in:
Eai 2019-02-26 22:55:55 +09:00 committed by shibafu
parent 746db0474a
commit 30c861d18c
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ class KomifloResolver implements Resolver
$metadata->description = ($json['content']['attributes']['artists']['children'][0]['data']['name'] ?? '?') .
' - ' .
($json['content']['parents'][0]['data']['title'] ?? '?');
$metadata->image = 'https://t.komiflo.com/564_mobile_large_3x/' . $json['content']['named_imgs']['cover']['filename'];
return $metadata;
} else {