From b9f8f6d204407cb86611827b1a93ed423a8e1af7 Mon Sep 17 00:00:00 2001 From: tillcash Date: Mon, 9 Sep 2024 18:22:38 +0530 Subject: [PATCH] [DailythanthiBridge] fix url --- bridges/DailythanthiBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/DailythanthiBridge.php b/bridges/DailythanthiBridge.php index 114f42d8..4e891e1c 100644 --- a/bridges/DailythanthiBridge.php +++ b/bridges/DailythanthiBridge.php @@ -3,7 +3,7 @@ class DailythanthiBridge extends BridgeAbstract { const NAME = 'Dailythanthi'; - const URI = 'https://www.dailythanthi.com/'; + const URI = 'https://www.dailythanthi.com'; const DESCRIPTION = 'Retrieve news from dailythanthi.com'; const MAINTAINER = 'tillcash'; const PARAMETERS = [ @@ -46,7 +46,7 @@ class DailythanthiBridge extends BridgeAbstract public function collectData() { - $dom = getSimpleHTMLDOM(self::URI . $this->getInput('topic')); + $dom = getSimpleHTMLDOM(self::URI . '/' . $this->getInput('topic')); foreach ($dom->find('div.ListingNewsWithMEDImage') as $element) { $slug = $element->find('a', 1);