KomifloResolverに画像の取得を追加
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user