PixivResolverの取得画像をregularにする
This commit is contained in:
1 parent
a521a26aa5
commit
810a1dbc59
2 files changed
+4
-4
No files matched your search
@@ -64,7 +64,7 @@ class PixivResolver implements Resolver
|
||||
|
||||
$metadata->title = $json['body']['illustTitle'] ?? '';
|
||||
$metadata->description = '投稿者: ' . $json['body']['userName'] . PHP_EOL . strip_tags(str_replace('<br />', PHP_EOL, $json['body']['illustComment'] ?? ''));
|
||||
$metadata->image = $this->proxize($json['body']['urls']['original'] ?? '');
|
||||
$metadata->image = $this->proxize($json['body']['urls']['regular'] ?? '');
|
||||
|
||||
// ページ数の指定がある場合は画像URLをそのページにする
|
||||
if ($page != 0) {
|
||||
|
||||
Reference in new issue
Block a user