0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-26 13:25:46 +00:00

[CybernewsBridge] fix url

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

View File

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