0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-24 20:38:36 +00:00

[CybernewsBridge] fix url 2

This commit is contained in:
tillcash 2025-08-10 16:44:21 +05:30 committed by GitHub
parent 122b5797c7
commit da9b9d55ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,8 @@ class CybernewsBridge extends BridgeAbstract
'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'
];
$sitemapXml = getContents(self::URI . '/news-sitemap.xml', $header);
$sitemapUrl = self::URI . '/news-sitemap.xml';
$sitemapXml = getContents($sitemapUrl, $header);
if (!$sitemapXml) {
throwServerException('Could not retrieve Cybernews sitemap');
}