diff options
-rw-r--r-- | sfeedrc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sfeedrc b/sfeedrc index 772f19b..a86b3e1 100644 --- a/sfeedrc +++ b/sfeedrc | |||
@@ -154,9 +154,10 @@ filter() { | |||
154 | *NPR*) | 154 | *NPR*) |
155 | sed 's@www\.npr\.org@text.npr.org@' | 155 | sed 's@www\.npr\.org@text.npr.org@' |
156 | ;; | 156 | ;; |
157 | r_* | r/*) # reddit (not sure when / => _) | 157 | r_* | r/*) # reddit (not sure when / => _) |
158 | sed -e 's@old\.reddit\.com@teddit.net@' \ | 158 | reddit_alt_url="i.reddit.com" # teddit is slow :( |
159 | -e 's@reddit\.com@teddit.net@' | 159 | sed -e "s@old\.reddit\.com@${reddit_alt_url}@" \ |
160 | -e "s@reddit\.com@${reddit_alt_url}@" | ||
160 | ;; | 161 | ;; |
161 | 'Saturday Morning Breakfast Cereal') | 162 | 'Saturday Morning Breakfast Cereal') |
162 | sed 's@Saturday Morning Breakfast Cereal - @@' | 163 | sed 's@Saturday Morning Breakfast Cereal - @@' |