From a9a0f3b99ac35d02a33929658a7609635d6880a9 Mon Sep 17 00:00:00 2001 From: eai04191 Date: Thu, 12 Sep 2019 06:56:28 +0900 Subject: [PATCH] =?UTF-8?q?FantiaResolver=E3=82=92=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E3=83=BB=E3=83=86=E3=82=B9=E3=83=88=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit APIを見つけたのでAPIを使用するように タグを追加 テストを追加 --- app/MetadataResolver/FantiaResolver.php | 40 +++++++------------ .../MetadataResolver/FantiaResolverTest.php | 36 +++++++++++++++++ tests/fixture/Fantia/test.json | 1 + 3 files changed, 51 insertions(+), 26 deletions(-) create mode 100644 tests/Unit/MetadataResolver/FantiaResolverTest.php create mode 100644 tests/fixture/Fantia/test.json diff --git a/app/MetadataResolver/FantiaResolver.php b/app/MetadataResolver/FantiaResolver.php index 08f38e2..d31fd6d 100644 --- a/app/MetadataResolver/FantiaResolver.php +++ b/app/MetadataResolver/FantiaResolver.php @@ -3,7 +3,6 @@ namespace App\MetadataResolver; use GuzzleHttp\Client; -use Illuminate\Support\Facades\Log; class FantiaResolver implements Resolver { @@ -11,41 +10,30 @@ class FantiaResolver implements Resolver * @var Client */ private $client; - /** - * @var OGPResolver - */ - private $ogpResolver; - public function __construct(Client $client, OGPResolver $ogpResolver) + public function __construct(Client $client) { $this->client = $client; - $this->ogpResolver = $ogpResolver; } public function resolve(string $url): Metadata { - preg_match("~\d+~", $url, $match); - $postId = $match[0]; + preg_match("~posts/(\d+)~", $url, $match); + $postId = $match[1]; - $res = $this->client->get($url); - $metadata = $this->ogpResolver->parse($res->getBody()); + $res = $this->client->get("https://fantia.jp/api/v1/posts/{$postId}"); + $data = json_decode(str_replace('\r\n', '\n', (string) $res->getBody()), true); + $post = $data['post']; - $dom = new \DOMDocument(); - @$dom->loadHTML(mb_convert_encoding($res->getBody(), 'HTML-ENTITIES', 'UTF-8')); - $xpath = new \DOMXPath($dom); + $tags = array_map(function ($tag) { + return $tag['name']; + }, $post['tags']); - $node = $xpath->query("//meta[@property='twitter:image']")->item(0); - $ogpUrl = $node->getAttribute('content'); - - // 投稿に画像がない場合(ogp.jpgでない場合)のみ大きい画像に変換する - if ($ogpUrl != 'http://fantia.jp/images/ogp.jpg') { - preg_match("~https://fantia\.s3\.amazonaws\.com/uploads/post/file/{$postId}/ogp_(.*?)\.(jpg|png)~", $ogpUrl, $match); - $uuid = $match[1]; - $extension = $match[2]; - - // 大きい画像に変換 - $metadata->image = "https://c.fantia.jp/uploads/post/file/{$postId}/main_{$uuid}.{$extension}"; - } + $metadata = new Metadata(); + $metadata->title = $post['title'] ?? ''; + $metadata->description = 'サークル: ' . $post['fanclub']['fanclub_name_with_creator_name'] . PHP_EOL . $post['comment']; + $metadata->image = str_replace('micro', 'main', $post['thumb_micro']) ?? ''; + $metadata->tags = array_merge($tags, [$post['fanclub']['creator_name']]); return $metadata; } diff --git a/tests/Unit/MetadataResolver/FantiaResolverTest.php b/tests/Unit/MetadataResolver/FantiaResolverTest.php new file mode 100644 index 0000000..ae976e9 --- /dev/null +++ b/tests/Unit/MetadataResolver/FantiaResolverTest.php @@ -0,0 +1,36 @@ +shouldUseMock()) { + sleep(1); + } + } + + public function test() + { + $responseText = file_get_contents(__DIR__ . '/../../fixture/Fantia/test.json'); + + $this->createResolver(FantiaResolver::class, $responseText); + + $metadata = $this->resolver->resolve('https://fantia.jp/posts/206561'); + $this->assertSame('召喚士アルドラ', $metadata->title); + $this->assertSame('サークル: サークルぬるま湯 (ナナナナ)' . PHP_EOL . 'コミッション' . PHP_EOL . 'クイーンズブレイドリベリオンの召喚士アルドラです。', $metadata->description); + $this->assertSame('https://c.fantia.jp/uploads/post/file/206561/main_dbcc59e5-4090-4650-b969-8855a721c6a5.jpg', $metadata->image); + $this->assertSame(['ふたなり', '超乳', '超根', 'クイーンズブレイド', 'ナナナナ'], $metadata->tags); + if ($this->shouldUseMock()) { + $this->assertSame('https://fantia.jp/api/v1/posts/206561', (string) $this->handler->getLastRequest()->getUri()); + } + } +} diff --git a/tests/fixture/Fantia/test.json b/tests/fixture/Fantia/test.json new file mode 100644 index 0000000..e08b437 --- /dev/null +++ b/tests/fixture/Fantia/test.json @@ -0,0 +1 @@ +{"post":{"id":206561,"title":"召喚士アルドラ","comment":"コミッション\r\nクイーンズブレイドリベリオンの召喚士アルドラです。","tags":[{"name":"ふたなり","uri":"/posts?tag=%E3%81%B5%E3%81%9F%E3%81%AA%E3%82%8A"},{"name":"超乳","uri":"/posts?tag=%E8%B6%85%E4%B9%B3"},{"name":"超根","uri":"/posts?tag=%E8%B6%85%E6%A0%B9"},{"name":"クイーンズブレイド","uri":"/posts?tag=%E3%82%AF%E3%82%A4%E3%83%BC%E3%83%B3%E3%82%BA%E3%83%96%E3%83%AC%E3%82%A4%E3%83%89"}],"rating":"adult","thumb":null,"thumb_micro":"https://c.fantia.jp/uploads/post/file/206561/micro_dbcc59e5-4090-4650-b969-8855a721c6a5.jpg","show_adult_thumb":true,"posted_at":"Sun, 08 Sep 2019 21:13:44 +0900","likes_count":4,"liked":null,"is_contributor":false,"uri":{"show":"/posts/206561","edit":null},"is_pulish_open":true,"is_blog":false,"fanclub":{"id":2396,"user":{"id":47923,"toranoana_identify_token":"tus_1vhtg9h2yug0q","name":"ナナナナ","image":{"small":"/images/fallback/user/default_3.png","medium":"/images/fallback/user/default_3.png","large":"/images/fallback/user/default_3.png"},"profile_text":"大きいチンコとおっぱい、大きすぎるチンコとおっぱい、\r\n一般からすれば奇形と言われかねない、特大のエロを描いています。\r\nそれでもOKという人は是非支援のほどを!\r\n※御用の方は画面上のメニューにあるメッセージからできます。\r\n※リクエストは現在描いてる物以降は、「SM、スカトロ」等、ナナナナがちょっとそれは・・・、と思ったものはお断りさせていただく場合があります。\r\nご了承ください。","has_fanclub":true},"category":{"id":1,"name":"イラスト","slug":"illust","uri":{"fanclub":"/fanclubs?category=illust","products":"/products?category=illust","posts":"/posts?category=illust"}},"fanclub_name_with_creator_name":"サークルぬるま湯 (ナナナナ)","fanclub_name_or_creator_name":"サークルぬるま湯","title":"ふたなりとでっかいおっぱい好きです\r\n","cover":{"thumb":"https://c.fantia.jp/uploads/fanclub/cover_image/2396/thumb_32d4ee9a-7d42-4058-b2ca-1797c0e23a96.jpg","medium":"https://c.fantia.jp/uploads/fanclub/cover_image/2396/medium_32d4ee9a-7d42-4058-b2ca-1797c0e23a96.jpg","main":"https://c.fantia.jp/uploads/fanclub/cover_image/2396/main_32d4ee9a-7d42-4058-b2ca-1797c0e23a96.jpg","ogp":"https://c.fantia.jp/uploads/fanclub/cover_image/2396/ogp_32d4ee9a-7d42-4058-b2ca-1797c0e23a96.jpg","original":"https://c.fantia.jp/uploads/fanclub/cover_image/2396/32d4ee9a-7d42-4058-b2ca-1797c0e23a96.jpg"},"icon":{"thumb":"https://c.fantia.jp/uploads/fanclub/icon_image/2396/thumb_7d2caeac-7392-4b68-87ba-ffd68573465f.jpg","main":"https://c.fantia.jp/uploads/fanclub/icon_image/2396/main_7d2caeac-7392-4b68-87ba-ffd68573465f.jpg","original":"https://c.fantia.jp/uploads/fanclub/icon_image/2396/7d2caeac-7392-4b68-87ba-ffd68573465f.jpg"},"is_join":false,"fan_count":1236,"posts_count":271,"products_count":10,"uri":{"show":"/fanclubs/2396","posts":"/fanclubs/2396/posts","plans":"/fanclubs/2396/plans","products":"/fanclubs/2396/products","users":"/fanclubs/2396/users"},"user_support_point":0,"creator_name":"ナナナナ","name":"サークルぬるま湯","fanclub_name":"サークルぬるま湯","comment":"大きいチンコとおっぱい、大きすぎるチンコとおっぱい、 一般からすれば奇形と言われかねない、特大のエロを描いています。\r\n(普通のエロもたまに書くよ)\r\n それでもOKという人は是非支援のほどを! \r\n何か御用があれば上のメニューのメッセージからお願いします。\r\n ※リクエストは、「SM、スカトロ」等、ナナナナがちょっとそれは・・・、と思ったものはお断りさせていただく場合があります。 ご了承ください。","recent_posts":[],"recent_products":[{"id":29737,"name":"【二人まで】カラーイラストリクエスト権","type":"download","category":{"id":1,"name":"オーダーメイド","uri":"/products?product_category=%E3%82%AA%E3%83%BC%E3%83%80%E3%83%BC%E3%83%A1%E3%82%A4%E3%83%89"},"thumb":null,"show_adult_thumb":true,"stock":"many","price":16000,"buyable_lowest_plan":{"id":3873,"price":0,"name":"無料プラン","description":"無料プランです","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png"},"likes":{"count":0,"has_like":false},"uri":"/products/29737","reactions":{"get_url":"https://id.fantia.jp/fantia/api/products/29737/reactions?client_id=EUtcltNGEX\u0026identify_token=","post_uri":null,"delete_uri":"/api/v1/products/29737/reactions/:id"}},{"id":29736,"name":"【一人まで】カラーイラストリクエスト権","type":"download","category":{"id":1,"name":"オーダーメイド","uri":"/products?product_category=%E3%82%AA%E3%83%BC%E3%83%80%E3%83%BC%E3%83%A1%E3%82%A4%E3%83%89"},"thumb":null,"show_adult_thumb":true,"stock":"many","price":8000,"buyable_lowest_plan":{"id":3873,"price":0,"name":"無料プラン","description":"無料プランです","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png"},"likes":{"count":0,"has_like":false},"uri":"/products/29736","reactions":{"get_url":"https://id.fantia.jp/fantia/api/products/29736/reactions?client_id=EUtcltNGEX\u0026identify_token=","post_uri":null,"delete_uri":"/api/v1/products/29736/reactions/:id"}},{"id":6485,"name":"ふたなりハザード","type":"download","category":{"id":3,"name":"イラスト集","uri":"/products?product_category=%E3%82%A4%E3%83%A9%E3%82%B9%E3%83%88%E9%9B%86"},"thumb":null,"show_adult_thumb":true,"stock":"many","price":600,"buyable_lowest_plan":{"id":3873,"price":0,"name":"無料プラン","description":"無料プランです","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png"},"likes":{"count":1,"has_like":false},"uri":"/products/6485","reactions":{"get_url":"https://id.fantia.jp/fantia/api/products/6485/reactions?client_id=EUtcltNGEX\u0026identify_token=","post_uri":null,"delete_uri":"/api/v1/products/6485/reactions/:id"}},{"id":1307,"name":"DICK STRIKE","type":"download","category":{"id":3,"name":"イラスト集","uri":"/products?product_category=%E3%82%A4%E3%83%A9%E3%82%B9%E3%83%88%E9%9B%86"},"thumb":null,"show_adult_thumb":true,"stock":"many","price":300,"buyable_lowest_plan":{"id":3873,"price":0,"name":"無料プラン","description":"無料プランです","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png"},"likes":{"count":2,"has_like":false},"uri":"/products/1307","reactions":{"get_url":"https://id.fantia.jp/fantia/api/products/1307/reactions?client_id=EUtcltNGEX\u0026identify_token=","post_uri":null,"delete_uri":"/api/v1/products/1307/reactions/:id"}},{"id":1306,"name":"ふたなりレシピ2","type":"download","category":{"id":3,"name":"イラスト集","uri":"/products?product_category=%E3%82%A4%E3%83%A9%E3%82%B9%E3%83%88%E9%9B%86"},"thumb":null,"show_adult_thumb":true,"stock":"many","price":300,"buyable_lowest_plan":{"id":3873,"price":0,"name":"無料プラン","description":"無料プランです","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png"},"likes":{"count":1,"has_like":false},"uri":"/products/1306","reactions":{"get_url":"https://id.fantia.jp/fantia/api/products/1306/reactions?client_id=EUtcltNGEX\u0026identify_token=","post_uri":null,"delete_uri":"/api/v1/products/1306/reactions/:id"}},{"id":1305,"name":"ふたなりレシピ","type":"download","category":{"id":3,"name":"イラスト集","uri":"/products?product_category=%E3%82%A4%E3%83%A9%E3%82%B9%E3%83%88%E9%9B%86"},"thumb":null,"show_adult_thumb":true,"stock":"many","price":300,"buyable_lowest_plan":{"id":3873,"price":0,"name":"無料プラン","description":"無料プランです","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png"},"likes":{"count":2,"has_like":false},"uri":"/products/1305","reactions":{"get_url":"https://id.fantia.jp/fantia/api/products/1305/reactions?client_id=EUtcltNGEX\u0026identify_token=","post_uri":null,"delete_uri":"/api/v1/products/1305/reactions/:id"}}],"plans":[{"id":3873,"price":0,"name":"無料プラン","description":"無料プランです","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png","vacant_seat":"many","order":{"status":"not_member","is_oneclick":true,"uri":"/fanclubs/2396/plans/3873/orders/new"}},{"id":7205,"price":400,"name":"限定イラスト公開。","description":"ここだけで公開されているイラストを公開します。","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png","vacant_seat":"many","order":{"status":"not_member","is_oneclick":false,"uri":"/fanclubs/2396/plans/7205/orders/new"}},{"id":9786,"price":700,"name":"限定イラスト(高画質)公開","description":"ここだけで公開されているイラストの高画質を公開します。","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png","vacant_seat":"many","order":{"status":"not_member","is_oneclick":false,"uri":"/fanclubs/2396/plans/9786/orders/new"}}],"background":null,"point_top_users":[{"id":838502,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":12500,"extra_pay_plan":0,"user":{"id":318401,"toranoana_identify_token":"tus_7aiusjfnr97o","name":"boomSnake","image":{"small":"/images/fallback/user/default_1.png","medium":"/images/fallback/user/default_1.png","large":"/images/fallback/user/default_1.png"},"profile_text":"","has_fanclub":null,"fanclub":null}},{"id":1000605,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":9500,"extra_pay_plan":0,"user":{"id":13587,"toranoana_identify_token":"tus_e1w344cfkm74","name":"骸猫 氷華","image":{"small":"https://lh3.googleusercontent.com/_owAoSVbfh68I0X8VCuyQGinC6xly2cxiumfFOYhsZnbV6jIulebgZPJUL-2fkAEpO0gT5d3Y859NGmnMDYcws5c5AXgMw=s64","medium":"https://lh3.googleusercontent.com/_owAoSVbfh68I0X8VCuyQGinC6xly2cxiumfFOYhsZnbV6jIulebgZPJUL-2fkAEpO0gT5d3Y859NGmnMDYcws5c5AXgMw=s128","large":"https://lh3.googleusercontent.com/_owAoSVbfh68I0X8VCuyQGinC6xly2cxiumfFOYhsZnbV6jIulebgZPJUL-2fkAEpO0gT5d3Y859NGmnMDYcws5c5AXgMw=s256"},"profile_text":"骸猫氷華(むくろねこひょうか)ともうします。どうぞ良しなに( ˘ω˘ ) \r\n","has_fanclub":true,"fanclub":{"id":4114,"user":{"id":13587,"toranoana_identify_token":"tus_e1w344cfkm74","name":"骸猫 氷華","image":{"small":"https://lh3.googleusercontent.com/_owAoSVbfh68I0X8VCuyQGinC6xly2cxiumfFOYhsZnbV6jIulebgZPJUL-2fkAEpO0gT5d3Y859NGmnMDYcws5c5AXgMw=s64","medium":"https://lh3.googleusercontent.com/_owAoSVbfh68I0X8VCuyQGinC6xly2cxiumfFOYhsZnbV6jIulebgZPJUL-2fkAEpO0gT5d3Y859NGmnMDYcws5c5AXgMw=s128","large":"https://lh3.googleusercontent.com/_owAoSVbfh68I0X8VCuyQGinC6xly2cxiumfFOYhsZnbV6jIulebgZPJUL-2fkAEpO0gT5d3Y859NGmnMDYcws5c5AXgMw=s256"},"profile_text":"骸猫氷華(むくろねこひょうか)ともうします。どうぞ良しなに( ˘ω˘ ) \r\n","has_fanclub":true},"category":{"id":12,"name":"アニメ・映像・写真","slug":"anime","uri":{"fanclub":"/fanclubs?category=anime","products":"/products?category=anime","posts":"/posts?category=anime"}},"fanclub_name_with_creator_name":"猫のお屋敷 (骸猫氷華)","fanclub_name_or_creator_name":"猫のお屋敷","title":"過去に作り投稿したmmd動画の倉庫","cover":{"thumb":"https://c.fantia.jp/uploads/fanclub/cover_image/4114/thumb_194adb36-9bc5-465d-817e-226b6fb161e5.jpg","medium":"https://c.fantia.jp/uploads/fanclub/cover_image/4114/medium_194adb36-9bc5-465d-817e-226b6fb161e5.jpg","main":"https://c.fantia.jp/uploads/fanclub/cover_image/4114/main_194adb36-9bc5-465d-817e-226b6fb161e5.jpg","ogp":"https://c.fantia.jp/uploads/fanclub/cover_image/4114/ogp_194adb36-9bc5-465d-817e-226b6fb161e5.jpg","original":"https://c.fantia.jp/uploads/fanclub/cover_image/4114/194adb36-9bc5-465d-817e-226b6fb161e5.jpg"},"icon":{"thumb":"https://c.fantia.jp/uploads/fanclub/icon_image/4114/thumb_8cf917c4-9ec7-47e3-bf2d-f0b95a09e2d8.png","main":"https://c.fantia.jp/uploads/fanclub/icon_image/4114/main_8cf917c4-9ec7-47e3-bf2d-f0b95a09e2d8.png","original":"https://c.fantia.jp/uploads/fanclub/icon_image/4114/8cf917c4-9ec7-47e3-bf2d-f0b95a09e2d8.png"},"is_join":false,"fan_count":867,"posts_count":33,"products_count":0,"uri":{"show":"/fanclubs/4114","posts":"/fanclubs/4114/posts","plans":"/fanclubs/4114/plans","products":"/fanclubs/4114/products","users":"/fanclubs/4114/users"},"user_support_point":0}}},{"id":338713,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":4700,"extra_pay_plan":0,"user":{"id":129070,"toranoana_identify_token":"tus_2t9u5o0jtk0xd","name":"クルセイダー","image":{"small":"https://lh3.googleusercontent.com/77AEFAAe9CiBGsoaNEQW2Bcskf43xIRHAiRWqM856e87OXR36MX_SiLP37cez6dGVu1tjXHRUzjcIbjUYcYN37mgBU59qg=s64","medium":"https://lh3.googleusercontent.com/77AEFAAe9CiBGsoaNEQW2Bcskf43xIRHAiRWqM856e87OXR36MX_SiLP37cez6dGVu1tjXHRUzjcIbjUYcYN37mgBU59qg=s128","large":"https://lh3.googleusercontent.com/77AEFAAe9CiBGsoaNEQW2Bcskf43xIRHAiRWqM856e87OXR36MX_SiLP37cez6dGVu1tjXHRUzjcIbjUYcYN37mgBU59qg=s256"},"profile_text":null,"has_fanclub":null,"fanclub":null}},{"id":1452177,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":2950,"extra_pay_plan":0,"user":{"id":58291,"toranoana_identify_token":"tus_30woj7z3ht9un","name":"gigahz","image":{"small":"/images/fallback/user/default_1.png","medium":"/images/fallback/user/default_1.png","large":"/images/fallback/user/default_1.png"},"profile_text":null,"has_fanclub":null,"fanclub":null}},{"id":136455,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":2450,"extra_pay_plan":0,"user":{"id":39294,"toranoana_identify_token":"tus_29g1zjdk8paxr","name":"HIRO","image":{"small":"/images/fallback/user/default_4.png","medium":"/images/fallback/user/default_4.png","large":"/images/fallback/user/default_4.png"},"profile_text":"お〇んこなんてどうでもいいよ。\r\n\r\n好きな車 フェラーリ\r\n好きなブランド フェラガモ\r\n好きな楽器 尺八\r\n好きな偉人 クレオパトラ\r\n好きなBGM ちゅぱ音","has_fanclub":null,"fanclub":null}},{"id":618369,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":1900,"extra_pay_plan":0,"user":{"id":61735,"toranoana_identify_token":"tus_7kyouxn1sjl7","name":"おさぶ","image":{"small":"/images/fallback/user/default_0.png","medium":"/images/fallback/user/default_0.png","large":"/images/fallback/user/default_0.png"},"profile_text":null,"has_fanclub":null,"fanclub":null}},{"id":1771496,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":650,"extra_pay_plan":0,"user":{"id":31381,"toranoana_identify_token":"tus_a5x2bxoy2tvn","name":"@w@","image":{"small":"https://lh3.googleusercontent.com/x_1xpWjfK8_b4U27C75eqcjpEqTgWdP7q6ZYS8BZl3Nc6x6qF4ORWcHZ_JVTNrjbDJXNqR_2pwoEBnQ-NYif4D2HDLaQbMQ=s64","medium":"https://lh3.googleusercontent.com/x_1xpWjfK8_b4U27C75eqcjpEqTgWdP7q6ZYS8BZl3Nc6x6qF4ORWcHZ_JVTNrjbDJXNqR_2pwoEBnQ-NYif4D2HDLaQbMQ=s128","large":"https://lh3.googleusercontent.com/x_1xpWjfK8_b4U27C75eqcjpEqTgWdP7q6ZYS8BZl3Nc6x6qF4ORWcHZ_JVTNrjbDJXNqR_2pwoEBnQ-NYif4D2HDLaQbMQ=s256"},"profile_text":"応援してます@w@b","has_fanclub":null,"fanclub":null}},{"id":876440,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":600,"extra_pay_plan":0,"user":{"id":374455,"toranoana_identify_token":"tus_cpitzgcgd5we","name":"SilveWolf","image":{"small":"/images/fallback/user/default_0.png","medium":"/images/fallback/user/default_0.png","large":"/images/fallback/user/default_0.png"},"profile_text":null,"has_fanclub":null,"fanclub":null}},{"id":94057,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":550,"extra_pay_plan":0,"user":{"id":23637,"toranoana_identify_token":"tus_vgckqclvvims","name":"オデュッセア","image":{"small":"https://lh3.googleusercontent.com/0vYmgKN2zuaEctd_jvuZblCusgUz0vozQ514oGjmjCUWuXoti2dUwFJJghJgplbkIVtumaRnpiIieg82TpLBMaw0v2Ulpg=s64","medium":"https://lh3.googleusercontent.com/0vYmgKN2zuaEctd_jvuZblCusgUz0vozQ514oGjmjCUWuXoti2dUwFJJghJgplbkIVtumaRnpiIieg82TpLBMaw0v2Ulpg=s128","large":"https://lh3.googleusercontent.com/0vYmgKN2zuaEctd_jvuZblCusgUz0vozQ514oGjmjCUWuXoti2dUwFJJghJgplbkIVtumaRnpiIieg82TpLBMaw0v2Ulpg=s256"},"profile_text":"","has_fanclub":null,"fanclub":null}},{"id":275910,"support_comment":"応援しています!","support_image":{"medium":null,"main":null,"original":null},"support_point":500,"extra_pay_plan":0,"user":{"id":20521,"toranoana_identify_token":"tus_1hbk2zi6thybi","name":"あさ","image":{"small":"/images/fallback/user/default_1.png","medium":"/images/fallback/user/default_1.png","large":"/images/fallback/user/default_1.png"},"profile_text":null,"has_fanclub":null,"fanclub":null}}],"support_point":129750,"support_point_goals":[]},"status":"open","post_contents":[{"id":284957,"title":"通常版","visible_status":"adult_only","published_state":"members_only","filename":"","embed_url":null,"content_type":null,"comments":{"get_url":"https://id.fantia.jp/fantia/api/post_contents/284957/comments?client_id=EUtcltNGEX","post_uri":null,"delete_uri":"/api/v1/posts/206561/post_contents/284957/comments/:id"},"comments_reactions":{"post_uri":null,"delete_uri":"/api/v1/posts/206561/post_contents/284957/comments/:comment_id/reactions/:id","get_url":"https://id.fantia.jp/fantia/api/comments/:comment_id/reactions?client_id=EUtcltNGEX\u0026identify_token="},"embed_api_url":"https://id.fantia.jp/embed","reactions":{"get_url":"https://id.fantia.jp/fantia/api/post_contents/284957/reactions?client_id=EUtcltNGEX\u0026identify_token=","post_uri":null,"delete_uri":"/api/v1/posts/206561/post_contents/284957/reactions/:id"},"reaction_types_url":"https://id.fantia.jp/api/v1/reaction_types","plan":{"id":7205,"price":400,"name":"限定イラスト公開。","description":"ここだけで公開されているイラストを公開します。","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png","vacant_seat":"many","order":{"status":"not_member","is_oneclick":false,"uri":"/fanclubs/2396/plans/7205/orders/new"}},"product":null,"onsale_backnumber":"not_sale_backnumber","backnumber_link":null,"join_status":"need_join","parent_post":{"title":"召喚士アルドラ","url":"/posts/206561","date":"2019-09-08T21:13:44.000+09:00","deadline":null}},{"id":284958,"title":"高画質版","visible_status":"adult_only","published_state":"members_only","filename":"","embed_url":null,"content_type":null,"comments":{"get_url":"https://id.fantia.jp/fantia/api/post_contents/284958/comments?client_id=EUtcltNGEX","post_uri":null,"delete_uri":"/api/v1/posts/206561/post_contents/284958/comments/:id"},"comments_reactions":{"post_uri":null,"delete_uri":"/api/v1/posts/206561/post_contents/284958/comments/:comment_id/reactions/:id","get_url":"https://id.fantia.jp/fantia/api/comments/:comment_id/reactions?client_id=EUtcltNGEX\u0026identify_token="},"embed_api_url":"https://id.fantia.jp/embed","reactions":{"get_url":"https://id.fantia.jp/fantia/api/post_contents/284958/reactions?client_id=EUtcltNGEX\u0026identify_token=","post_uri":null,"delete_uri":"/api/v1/posts/206561/post_contents/284958/reactions/:id"},"reaction_types_url":"https://id.fantia.jp/api/v1/reaction_types","plan":{"id":9786,"price":700,"name":"限定イラスト(高画質)公開","description":"ここだけで公開されているイラストの高画質を公開します。","limit":10000,"thumb":"https://fantia.jp/images/fallback/plan/thumb_default.png","vacant_seat":"many","order":{"status":"not_member","is_oneclick":false,"uri":"/fanclubs/2396/plans/9786/orders/new"}},"product":null,"onsale_backnumber":"not_sale_backnumber","backnumber_link":null,"join_status":"need_join","parent_post":{"title":"召喚士アルドラ","url":"/posts/206561","date":"2019-09-08T21:13:44.000+09:00","deadline":null}}],"deadline":null,"publish_reserved_at":null,"comments":{"post_uri":null,"delete_uri":"/api/v1/posts/206561/comments/:id","get_url":"https://id.fantia.jp/fantia/api/posts/206561/comments?client_id=EUtcltNGEX"},"blog_comment":"コミッション\r\nクイーンズブレイドリベリオンの召喚士アルドラです。","comments_reactions":{"post_uri":null,"delete_uri":"/api/v1/posts/206561/comments/:comment_id/reactions/:id","get_url":"https://id.fantia.jp/fantia/api/comments/:comment_id/reactions?client_id=EUtcltNGEX\u0026identify_token="},"reactions":{"post_uri":null,"delete_uri":"/api/v1/posts/206561/reactions/:id","get_url":"https://id.fantia.jp/fantia/api/posts/206561/reactions?client_id=EUtcltNGEX\u0026identify_token="},"reaction_types_url":"https://id.fantia.jp/api/v1/reaction_types","ogp_api_url":"https://id.fantia.jp/embed","links":{"previous":{"id":204457,"title":"ワンドロ集12","comment":null,"tags":[{"name":"ワンドロ","uri":"/posts?tag=%E3%83%AF%E3%83%B3%E3%83%89%E3%83%AD"},{"name":"ふたなり","uri":"/posts?tag=%E3%81%B5%E3%81%9F%E3%81%AA%E3%82%8A"},{"name":"超乳","uri":"/posts?tag=%E8%B6%85%E4%B9%B3"},{"name":"超根","uri":"/posts?tag=%E8%B6%85%E6%A0%B9"}],"rating":"adult","thumb":null,"thumb_micro":"https://c.fantia.jp/uploads/post/file/204457/micro_16f2b3fb-585f-44cd-b634-af419698a83d.jpg","show_adult_thumb":true,"posted_at":"Tue, 03 Sep 2019 22:35:16 +0900","likes_count":2,"liked":null,"is_contributor":false,"uri":{"show":"/posts/204457","edit":null},"is_pulish_open":true,"is_blog":false},"next":{"id":207782,"title":"ワンドロこのすばガール","comment":null,"tags":[{"name":"このすば","uri":"/posts?tag=%E3%81%93%E3%81%AE%E3%81%99%E3%81%B0"},{"name":"アクア","uri":"/posts?tag=%E3%82%A2%E3%82%AF%E3%82%A2"},{"name":"めぐみん","uri":"/posts?tag=%E3%82%81%E3%81%90%E3%81%BF%E3%82%93"},{"name":"ダクネス","uri":"/posts?tag=%E3%83%80%E3%82%AF%E3%83%8D%E3%82%B9"},{"name":"パンチラ","uri":"/posts?tag=%E3%83%91%E3%83%B3%E3%83%81%E3%83%A9"},{"name":"スリングショット","uri":"/posts?tag=%E3%82%B9%E3%83%AA%E3%83%B3%E3%82%B0%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88"},{"name":"おっぱい","uri":"/posts?tag=%E3%81%8A%E3%81%A3%E3%81%B1%E3%81%84"}],"rating":"adult","thumb":null,"thumb_micro":"https://c.fantia.jp/uploads/post/file/207782/micro_cef07d4c-b3ca-40b5-b69a-d397e5ea1511.jpeg","show_adult_thumb":true,"posted_at":"Wed, 11 Sep 2019 22:08:33 +0900","likes_count":4,"liked":null,"is_contributor":false,"uri":{"show":"/posts/207782","edit":null},"is_pulish_open":true,"is_blog":false}}}} \ No newline at end of file