mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[RedditBrige] Fix old feed URLs (#3087)
* flair filter * syntax * fix multi & user feeds * ' * dont replace , * fix old reddit feeds
This commit is contained in:
parent
5d18852108
commit
8b7b32d516
@ -142,7 +142,7 @@ class RedditBridge extends BridgeAbstract
|
|||||||
$keywords = '';
|
$keywords = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!($this->getInput('f') === '') && $this->queriedContext == 'single') {
|
if (!empty($this->getInput('f')) && $this->queriedContext == 'single') {
|
||||||
$flair = $this->getInput('f');
|
$flair = $this->getInput('f');
|
||||||
$flair = str_replace(' ', '%20', $flair);
|
$flair = str_replace(' ', '%20', $flair);
|
||||||
$flair = 'flair%3A%22' . $flair . '%22%20';
|
$flair = 'flair%3A%22' . $flair . '%22%20';
|
||||||
|
Loading…
Reference in New Issue
Block a user