1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 13:50:23 +02:00

[NineGagBridge] In post URI replace scheme from "http" to "https"

This commit is contained in:
Gregor Santner
2020-10-15 11:12:54 +02:00
committed by GitHub
parent 45e2f385b3
commit a332a5a414

View File

@@ -148,7 +148,7 @@ class NineGagBridge extends BridgeAbstract {
}
if (!$AvoidElement) {
$item['uri'] = $post['url'];
$item['uri'] = preg_replace("/^http:/i", "https:", $post['url']);
$item['title'] = $post['title'];
$item['content'] = self::getContent($post);
$item['categories'] = self::getCategories($post);