summaryrefslogtreecommitdiff
path: root/searx/engines/twitter.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/twitter.py')
-rw-r--r--searx/engines/twitter.py24
1 files changed, 13 insertions, 11 deletions
diff --git a/searx/engines/twitter.py b/searx/engines/twitter.py
index 0e35e6188..7407ecc95 100644
--- a/searx/engines/twitter.py
+++ b/searx/engines/twitter.py
@@ -1,14 +1,16 @@
-## Twitter (Social media)
-#
-# @website https://twitter.com/
-# @provide-api yes (https://dev.twitter.com/docs/using-search)
-#
-# @using-api no
-# @results HTML (using search portal)
-# @stable no (HTML can change)
-# @parse url, title, content
-#
-# @todo publishedDate
+"""
+ Twitter (Social media)
+
+ @website https://twitter.com/
+ @provide-api yes (https://dev.twitter.com/docs/using-search)
+
+ @using-api no
+ @results HTML (using search portal)
+ @stable no (HTML can change)
+ @parse url, title, content
+
+ @todo publishedDate
+"""
from urlparse import urljoin
from urllib import urlencode