summaryrefslogtreecommitdiff
path: root/searx/engines/btdigg.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/btdigg.py')
-rw-r--r--searx/engines/btdigg.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py
index 944250628..bde866146 100644
--- a/searx/engines/btdigg.py
+++ b/searx/engines/btdigg.py
@@ -1,12 +1,14 @@
-## BTDigg (Videos, Music, Files)
-#
-# @website https://btdigg.org
-# @provide-api yes (on demand)
-#
-# @using-api no
-# @results HTML (using search portal)
-# @stable no (HTML can change)
-# @parse url, title, content, seed, leech, magnetlink
+"""
+ BTDigg (Videos, Music, Files)
+
+ @website https://btdigg.org
+ @provide-api yes (on demand)
+
+ @using-api no
+ @results HTML (using search portal)
+ @stable no (HTML can change)
+ @parse url, title, content, seed, leech, magnetlink
+"""
from urlparse import urljoin
from cgi import escape