Tweak doc

This commit is contained in:
Thomas Sileo 2022-08-09 23:03:52 +02:00
parent bdfdb2c4f9
commit f91c6c454a

View file

@ -39,21 +39,12 @@ or [Nitter](https://nitter.net/about).
To do so, just add as these extra config items, this is a sample config that rewrite URLs for Twitter, Youtube, Reddit and Medium: To do so, just add as these extra config items, this is a sample config that rewrite URLs for Twitter, Youtube, Reddit and Medium:
```toml ```toml
[[privacy_replace]] privacy_replace = [
domain = "youtube.com" {domain = "youtube.com", replace_by = "yewtu.be"},
replace_by ="yewtu.be" {domain = "twitter.com", replace_by = "nitter.fdn.fr"},
[[privacy_replace]] {domain = "medium.com", replace_by = "scribe.rip"},
domain = "youtu.be" {domain = "reddit.com", replace_by = "teddit.net"},
replace_by = "yewtu.be" ]
[[privacy_replace]]
domain = "twitter.com"
replace_by = "nitter.net"
[[privacy_replace]]
domain = "medium.com"
replace_by = "scribe.rip"
[[privacy_replace]]
domain = "reddit.com"
replace_by = "teddit.net"
``` ```
### Customization ### Customization