diff options
author | ManeraKai <manerakai@protonmail.com> | 2023-01-26 09:50:43 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2023-01-26 09:50:43 +0300 |
commit | ede16c006656eed83cdfb89d2dbf6363cb74309e (patch) | |
tree | ae22a24e63e8cd404a9a888308927ec7728f00f2 | |
parent | Fixed some typos (diff) | |
download | libredirect-ede16c006656eed83cdfb89d2dbf6363cb74309e.zip |
Added support for reddit onion https://github.com/libredirect/libredirect/issues/593
-rw-r--r-- | src/config.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.json b/src/config.json index b457db9e..ad454e4d 100644 --- a/src/config.json +++ b/src/config.json @@ -174,7 +174,7 @@ } }, "targets": [ - "^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com(?=\\/u(ser)?\\/|\\/r\\/|\\/search|\\/new|\\/?$)", + "^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)(reddit|reddittorjg6rue252oqsxryoxengawnmo46qy4kyii5wtqnwfj4ooad)\\.(com|onion)(?=\\/u(ser)?\\/|\\/r\\/|\\/search|\\/new|\\/?$)", "^https?:\\/{2}(i|(external-)?preview)\\.redd\\.it" ], "name": "Reddit", |