about summary refs log tree commit diff stats
path: root/src/instances
diff options
context:
space:
mode:
authorJacob Parnell <jparnell@mailfence.com>2022-12-07 19:02:58 -0600
committerJacob Parnell <jparnell@mailfence.com>2022-12-07 19:02:58 -0600
commit3d0e12cd4ca2910ed2d03f0439f61bbce6180af3 (patch)
treed0ab5f28540ddf2a1e2d9825b8f337e546ca5d68 /src/instances
parentSorted the instances out https://github.com/libredirect/libredirect/issues/537 (diff)
downloadlibredirect-3d0e12cd4ca2910ed2d03f0439f61bbce6180af3.zip
Fix instance fetching for BreezeWiki
Diffstat (limited to 'src/instances')
-rwxr-xr-xsrc/instances/get_instances.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py
index 65b1fc44..8121cea5 100755
--- a/src/instances/get_instances.py
+++ b/src/instances/get_instances.py
@@ -442,9 +442,7 @@ def libreTranslate():
 
 
 def breezeWiki():
-    fetchRegexList('breezeWiki', 'BreezeWiki', 'https://gitdab.com/cadence/breezewiki-docs/raw/branch/main/docs.scrbl',
-                   r"\(\"[^\n\s\r\t\f\v\"]+\" \"https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+(?:\/[^\s\/]+)*\" \"(https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+(?:\/[^\s\/]+)*)\"\)")
-
+    fetchJsonList('breezeWiki', 'BreezeWiki', 'https://docs.breezewiki.com/files/instances.json', 'instance', False)
 
 def privateBin():
     fetchJsonList('privateBin', 'PrivateBin',