From a7f8b1787a1babcd6465be93bb2d89c5256f4ffa Mon Sep 17 00:00:00 2001 From: Brandon Nifong Date: Mon, 22 May 2023 04:12:10 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20null=20content=20ratings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Scraper/AppInfoScraper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Scraper/AppInfoScraper.php b/src/Scraper/AppInfoScraper.php index 59bcbf3..6ac3a9b 100644 --- a/src/Scraper/AppInfoScraper.php +++ b/src/Scraper/AppInfoScraper.php @@ -110,7 +110,7 @@ public function __invoke(RequestInterface $request, ResponseInterface $response, $cover = $this->extractCover($appInfo); $screenshots = $this->extractScreenshots($appInfo); $video = $this->extractVideo($appInfo); - $contentRating = $appInfo[111][1] ?? ''; + $contentRating = $appInfo[9][0] ?? ''; $released = $this->convertDate($appInfo[10][1][0] ?? null); $updated = $this->convertDate($appInfo[145][0][1][0] ?? null); $recentChanges = $this->extractRecentChanges($appInfo);