t.komiflo.comを利用したサムネイルの取得を追加 (#106)
This commit is contained in:
parent
746db0474a
commit
30c861d18c
@ -32,6 +32,7 @@ class KomifloResolver implements Resolver
|
|||||||
$metadata->description = ($json['content']['attributes']['artists']['children'][0]['data']['name'] ?? '?') .
|
$metadata->description = ($json['content']['attributes']['artists']['children'][0]['data']['name'] ?? '?') .
|
||||||
' - ' .
|
' - ' .
|
||||||
($json['content']['parents'][0]['data']['title'] ?? '?');
|
($json['content']['parents'][0]['data']['title'] ?? '?');
|
||||||
|
$metadata->image = 'https://t.komiflo.com/564_mobile_large_3x/' . $json['content']['named_imgs']['cover']['filename'];
|
||||||
|
|
||||||
return $metadata;
|
return $metadata;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user