diff --git a/searx/engines/piratebay.py b/searx/engines/piratebay.py index 0d99e4722..c838b5bdd 100644 --- a/searx/engines/piratebay.py +++ b/searx/engines/piratebay.py @@ -30,5 +30,7 @@ def response(resp): url = urljoin(base_url, link.attrib.get('href')) title = ' '.join(link.xpath('.//text()')) content = escape(' '.join(result.xpath('.//font[@class="detDesc"]//text()'))) + seed, leech = result.xpath('.//td[@align="right"]/text()')[:2] + content += '
Seed: %s, Leech: %s' % (seed, leech) results.append({'url': url, 'title': title, 'content': content}) return results