fix(reddit): use old.reddit.com instead of www.reddit.com (#3848)

This commit is contained in:
Dag 2023-12-19 07:53:25 +01:00 committed by GitHub
parent b34fa2d278
commit 3944ae68cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,15 @@
<?php <?php
/**
* This bridge does NOT use reddit's official rss feeds.
*
* This bridge uses reddit's json api: https://old.reddit.com/search.json?q=
*/
class RedditBridge extends BridgeAbstract class RedditBridge extends BridgeAbstract
{ {
const MAINTAINER = 'dawidsowa'; const MAINTAINER = 'dawidsowa';
const NAME = 'Reddit Bridge'; const NAME = 'Reddit Bridge';
const URI = 'https://www.reddit.com'; const URI = 'https://old.reddit.com';
const DESCRIPTION = 'Return hot submissions from Reddit'; const DESCRIPTION = 'Return hot submissions from Reddit';
const PARAMETERS = [ const PARAMETERS = [