summaryrefslogtreecommitdiff
path: root/searx/engines/spotify.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/spotify.py')
-rw-r--r--searx/engines/spotify.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/searx/engines/spotify.py b/searx/engines/spotify.py
index 61f3721ec..f75796e83 100644
--- a/searx/engines/spotify.py
+++ b/searx/engines/spotify.py
@@ -1,12 +1,14 @@
-## Spotify (Music)
-#
-# @website https://spotify.com
-# @provide-api yes (https://developer.spotify.com/web-api/search-item/)
-#
-# @using-api yes
-# @results JSON
-# @stable yes
-# @parse url, title, content, embedded
+"""
+ Spotify (Music)
+
+ @website https://spotify.com
+ @provide-api yes (https://developer.spotify.com/web-api/search-item/)
+
+ @using-api yes
+ @results JSON
+ @stable yes
+ @parse url, title, content, embedded
+"""
from json import loads
from urllib import urlencode