From 7eddceaa146016e4d5f67bc94161652644249cfe Mon Sep 17 00:00:00 2001 From: tillcash Date: Sun, 10 Aug 2025 16:47:39 +0530 Subject: [PATCH] [CybernewsBridge] revert header --- bridges/CybernewsBridge.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bridges/CybernewsBridge.php b/bridges/CybernewsBridge.php index e6247ebc..7708868d 100644 --- a/bridges/CybernewsBridge.php +++ b/bridges/CybernewsBridge.php @@ -11,12 +11,7 @@ class CybernewsBridge extends BridgeAbstract public function collectData() { - $header = [ - 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36' - ]; - - $sitemapUrl = self::URI . '/news-sitemap.xml'; - $sitemapXml = getContents($sitemapUrl, $header); + $sitemapXml = getContents(self::URI . '/news-sitemap.xml'); if (!$sitemapXml) { throwServerException('Could not retrieve Cybernews sitemap'); }