summaryrefslogtreecommitdiff
path: root/searx/engines/spotify.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-05-02 14:58:32 -0400
committerAdam Tauber <asciimoo@gmail.com>2015-05-02 14:58:32 -0400
commit93fd1e4c76b2eb3d219a8b146ae9e36b103ae5cf (patch)
treeaf2c5d2f48c4f11a79560f0f9f884209ad580617 /searx/engines/spotify.py
parent81850dd603631b7e4b0d3b22d85e9eb3ae5b1e58 (diff)
parent4689fe341ca7c7231d0409526b9ee0f2eadde445 (diff)
downloadsearxng-93fd1e4c76b2eb3d219a8b146ae9e36b103ae5cf.tar.gz
searxng-93fd1e4c76b2eb3d219a8b146ae9e36b103ae5cf.zip
Merge pull request #308 from dalf/versions_upgrade
update versions.cfg to use the current up-to-date packages
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