summaryrefslogtreecommitdiff
path: root/searx/engines/faroo.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/faroo.py')
-rw-r--r--searx/engines/faroo.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/searx/engines/faroo.py b/searx/engines/faroo.py
index 4a5e60a60..43df14eef 100644
--- a/searx/engines/faroo.py
+++ b/searx/engines/faroo.py
@@ -1,12 +1,14 @@
-## Faroo (Web, News)
-#
-# @website http://www.faroo.com
-# @provide-api yes (http://www.faroo.com/hp/api/api.html), require API-key
-#
-# @using-api yes
-# @results JSON
-# @stable yes
-# @parse url, title, content, publishedDate, img_src
+"""
+ Faroo (Web, News)
+
+ @website http://www.faroo.com
+ @provide-api yes (http://www.faroo.com/hp/api/api.html), require API-key
+
+ @using-api yes
+ @results JSON
+ @stable yes
+ @parse url, title, content, publishedDate, img_src
+"""
from urllib import urlencode
from json import loads