diff --git a/src/config/config.json b/src/config/config.json index 25fa9f1..ac384ce 100644 --- a/src/config/config.json +++ b/src/config/config.json @@ -250,13 +250,20 @@ }, "name": "Teddit", "instanceList": true + }, + "ferrit": { + "preferences": { + "cookies": ["theme", "front_page", "layout", "wide", "post_sort", "comment_sort", "show_nsfw", "autoplay_videos", "use_hls", "hide_hls_notification", "subscriptions", "filters"] + }, + "name": "Ferrit", + "instanceList": true } }, "targets": ["^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com(?=\\/u(ser)?\\/|\\/r\\/|\\/?$)", "^https?:\\/{2}(i|(external-)?preview)\\.redd\\.it"], "name": "Reddit", "options": { "enabled": true, - "frontend": "libreddit" + "frontend": "ferrit" }, "imageType": "png", "embeddable": false, diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py index 46b8589..2b15496 100755 --- a/src/instances/get_instances.py +++ b/src/instances/get_instances.py @@ -343,6 +343,11 @@ def teddit(): {'clearnet': 'url', 'tor': 'onion', 'i2p': 'i2p', 'loki': None}, False) +def ferrit(): + fetchJsonList('ferrit', 'Ferrit', 'https://raw.githubusercontent.com/ferritreader/ferrit-instances/master/instances.json', + {'clearnet': 'url', 'tor': 'onion', 'i2p': 'i2p', 'loki': None}, True) + + def wikiless(): fetchJsonList('wikiless', 'Wikiless', 'https://wikiless.org/instances.json', {'clearnet': 'url', 'tor': 'onion', 'i2p': 'i2p', 'loki': None}, False) @@ -495,6 +500,7 @@ nitter() bibliogram() libreddit() teddit() +ferrit() wikiless() scribe() quetre()