From 538a3f6aa9de18baaa9bece200c7d85a18f401d9 Mon Sep 17 00:00:00 2001 From: lolcat Date: Wed, 5 Aug 2026 01:51:34 -0400 Subject: [PATCH] fix brave being a bitch on video and news --- scraper/brave.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scraper/brave.php b/scraper/brave.php index 88f9a18..5573133 100644 --- a/scraper/brave.php +++ b/scraper/brave.php @@ -1773,14 +1773,14 @@ class brave{ $nextpage = $this->fuckhtml - ->getElementById( + ->getElementsByClassName( "pagination", "div" ); - if($nextpage){ + if(count($nextpage) !== 0){ - $this->fuckhtml->load($nextpage); + $this->fuckhtml->load($nextpage[0]); $nextpage = $this->fuckhtml