From 1948d5235e143c82cde6ae0f7fc78686dce20f39 Mon Sep 17 00:00:00 2001 From: eai04191 Date: Fri, 10 Jan 2020 03:58:24 +0900 Subject: [PATCH] =?UTF-8?q?.btn=5Ffollow=E3=82=92=E5=8B=95=E7=9A=84?= =?UTF-8?q?=E4=BD=9C=E6=88=90=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=81=AA=E3=81=A3=E3=81=9F=E3=81=9F=E3=82=81=E5=89=8A=E9=99=A4?= =?UTF-8?q?=E3=82=AF=E3=83=A9=E3=82=B9=E5=90=8D=E3=82=92.add=5Ffollow?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/MetadataResolver/DLsiteResolver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/MetadataResolver/DLsiteResolver.php b/app/MetadataResolver/DLsiteResolver.php index f9aee84..a879e0d 100644 --- a/app/MetadataResolver/DLsiteResolver.php +++ b/app/MetadataResolver/DLsiteResolver.php @@ -87,8 +87,8 @@ class DLsiteResolver implements Resolver preg_match('~ \[([^\[\]]*)\] (予告作品 )?\| DLsite(がるまに)?$~', $metadata->title, $match); $makers = explode(' ', $match[1]); - //フォローボタン(.btn_follow)はテキストを含んでしまうことがあるので要素を削除しておく - $followButtonNode = $xpath->query('//*[@class="btn_follow"]')->item(0); + //フォローボタン(.add_follow)はテキストを含んでしまうことがあるので要素を削除しておく + $followButtonNode = $xpath->query('//*[@class="add_follow"]')->item(0); $followButtonNode->parentNode->removeChild($followButtonNode); // maker, makerHeadを探す