From 23ce60f4d56f5551e1d2fe0720ead52308233653 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 18 Jul 2022 09:59:21 -0500 Subject: Change teddit to i.reddit Teddit is real slow :( --- sfeedrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sfeedrc b/sfeedrc index 772f19b..a86b3e1 100644 --- a/sfeedrc +++ b/sfeedrc @@ -154,9 +154,10 @@ filter() { *NPR*) sed 's@www\.npr\.org@text.npr.org@' ;; - r_* | r/*) # reddit (not sure when / => _) - sed -e 's@old\.reddit\.com@teddit.net@' \ - -e 's@reddit\.com@teddit.net@' + r_* | r/*) # reddit (not sure when / => _) + reddit_alt_url="i.reddit.com" # teddit is slow :( + sed -e "s@old\.reddit\.com@${reddit_alt_url}@" \ + -e "s@reddit\.com@${reddit_alt_url}@" ;; 'Saturday Morning Breakfast Cereal') sed 's@Saturday Morning Breakfast Cereal - @@' -- cgit 1.4.1-21-gabe81