summaryrefslogtreecommitdiff
path: root/searx/engines/photon.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/photon.py')
-rw-r--r--searx/engines/photon.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/searx/engines/photon.py b/searx/engines/photon.py
index 869916cd4..2197005e5 100644
--- a/searx/engines/photon.py
+++ b/searx/engines/photon.py
@@ -1,12 +1,14 @@
-## Photon (Map)
-#
-# @website https://photon.komoot.de
-# @provide-api yes (https://photon.komoot.de/)
-#
-# @using-api yes
-# @results JSON
-# @stable yes
-# @parse url, title
+"""
+ Photon (Map)
+
+ @website https://photon.komoot.de
+ @provide-api yes (https://photon.komoot.de/)
+
+ @using-api yes
+ @results JSON
+ @stable yes
+ @parse url, title
+"""
from urllib import urlencode
from json import loads