summaryrefslogtreecommitdiff
path: root/searx/engines/twitter.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/twitter.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/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 4368ff08f..a0ee18a47 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