summaryrefslogtreecommitdiff
path: root/searx/engines/searchcode_code.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2015-05-02 15:45:17 +0200
committerAlexandre Flament <alex@al-f.net>2015-05-02 15:45:17 +0200
commit4689fe341ca7c7231d0409526b9ee0f2eadde445 (patch)
tree12d51f3471b2dfd448768cb8e540ee4668869453 /searx/engines/searchcode_code.py
parentbbd83f5a519381ac7ea690a1645258d106a9ba8a (diff)
downloadsearxng-4689fe341ca7c7231d0409526b9ee0f2eadde445.tar.gz
searxng-4689fe341ca7c7231d0409526b9ee0f2eadde445.zip
update versions.cfg to use the current up-to-date packages
Diffstat (limited to 'searx/engines/searchcode_code.py')
-rw-r--r--searx/engines/searchcode_code.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/searx/engines/searchcode_code.py b/searx/engines/searchcode_code.py
index f276697b1..21d9c4ac2 100644
--- a/searx/engines/searchcode_code.py
+++ b/searx/engines/searchcode_code.py
@@ -1,12 +1,14 @@
-## Searchcode (It)
-#
-# @website https://searchcode.com/
-# @provide-api yes (https://searchcode.com/api/)
-#
-# @using-api yes
-# @results JSON
-# @stable yes
-# @parse url, title, content
+"""
+ Searchcode (It)
+
+ @website https://searchcode.com/
+ @provide-api yes (https://searchcode.com/api/)
+
+ @using-api yes
+ @results JSON
+ @stable yes
+ @parse url, title, content
+"""
from urllib import urlencode
from json import loads