about summary refs log tree commit diff stats
path: root/src/instances
diff options
context:
space:
mode:
Diffstat (limited to 'src/instances')
-rwxr-xr-xsrc/instances/get_instances.py10
-rw-r--r--src/instances/osm.json5
2 files changed, 14 insertions, 1 deletions
diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py
index 8121cea5..e8b137dc 100755
--- a/src/instances/get_instances.py
+++ b/src/instances/get_instances.py
@@ -117,6 +117,7 @@ def is_authenticate(url):
         return False
     return False
 
+
 def fetchCache(frontend, name):
     try:
         with open('./src/instances/data.json') as file:
@@ -436,13 +437,19 @@ def facil():
     fetchFromFile('facil', 'FacilMap')
 
 
+def osm():
+    fetchFromFile('osm', 'OpenStreetMap')
+
+
 def libreTranslate():
     fetchRegexList('libreTranslate', 'LibreTranslate', 'https://raw.githubusercontent.com/LibreTranslate/LibreTranslate/main/README.md',
                    r"\[(?:[^\s\/]+\.)+[a-zA-Z0-9]+\]\((https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\)\|")
 
 
 def breezeWiki():
-    fetchJsonList('breezeWiki', 'BreezeWiki', 'https://docs.breezewiki.com/files/instances.json', 'instance', False)
+    fetchJsonList('breezeWiki', 'BreezeWiki',
+                  'https://docs.breezewiki.com/files/instances.json', 'instance', False)
+
 
 def privateBin():
     fetchJsonList('privateBin', 'PrivateBin',
@@ -499,6 +506,7 @@ neuters()
 beatbump()
 hyperpipe()
 facil()
+osm()
 simpleertube()
 breezeWiki()
 privateBin()
diff --git a/src/instances/osm.json b/src/instances/osm.json
new file mode 100644
index 00000000..a072e190
--- /dev/null
+++ b/src/instances/osm.json
@@ -0,0 +1,5 @@
+{
+    "clearnet": [
+        "https://www.openstreetmap.org"
+    ]
+}
\ No newline at end of file