Improve teddit url replacement

This commit is contained in:
Marty Oehme 2023-01-08 21:03:18 +01:00
parent 230d42c193
commit 44ad9a1028
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9

1
uoeia
View file

@ -75,6 +75,7 @@ dereference() {
# default replacements: # default replacements:
# teddit to original redd.it hosted picture # teddit to original redd.it hosted picture
output="${1//teddit.net\/pics\/w:null_/i.redd.it/}" output="${1//teddit.net\/pics\/w:null_/i.redd.it/}"
output="${output//teddit.net/reddit.com}"
# nitter to twitter # nitter to twitter
output="${output//nitter.net/twitter.com}" output="${output//nitter.net/twitter.com}"