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.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py
index 193785182..5743f4142 100644
--- a/searx/engines/btdigg.py
+++ b/searx/engines/btdigg.py
@@ -54,7 +54,6 @@ def response(resp):
excerpt = result.xpath('.//div[@class="torrent_excerpt"]')[0]
content = html.tostring(excerpt, encoding='unicode', method='text', with_tail=False)
- # it is better to emit <br/> instead of |, but html tags are verboten
content = content.strip().replace('\n', ' | ')
content = ' '.join(content.split())