Improve teddit url replacement
This commit is contained in:
parent
230d42c193
commit
44ad9a1028
1 changed files with 1 additions and 0 deletions
1
uoeia
1
uoeia
|
@ -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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue