From ede16c006656eed83cdfb89d2dbf6363cb74309e Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Thu, 26 Jan 2023 09:50:43 +0300 Subject: [PATCH] Added support for reddit onion https://github.com/libredirect/libredirect/issues/593 --- src/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.json b/src/config.json index b457db9..ad454e4 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",