diff options
author | marc <a01200356@itesm.mx> | 2016-09-20 15:35:54 -0500 |
---|---|---|
committer | marc <a01200356@itesm.mx> | 2016-09-20 16:11:33 -0500 |
commit | d1d4ed4376e41fa380b5b3a72e1b08e1f36a35e8 (patch) | |
tree | f7419a06d1e6ef72613e720c050f5dc8fec9b35e /searx/engines/digbt.py | |
parent | 8f48c518aa049a37e6e7721cb17ceef92c519ca8 (diff) | |
download | searxng-d1d4ed4376e41fa380b5b3a72e1b08e1f36a35e8.tar.gz searxng-d1d4ed4376e41fa380b5b3a72e1b08e1f36a35e8.zip |
[fix] results with digbit don't truncate anymore
Diffstat (limited to 'searx/engines/digbt.py')
-rw-r--r-- | searx/engines/digbt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/digbt.py b/searx/engines/digbt.py index c35327e8c..b55d7747a 100644 --- a/searx/engines/digbt.py +++ b/searx/engines/digbt.py @@ -40,7 +40,7 @@ def response(resp): results = list() for result in search_res: url = urljoin(URL, result.xpath('.//a[@title]/@href')[0]) - title = result.xpath('.//a[@title]/text()')[0] + title = extract_text(result.xpath('.//a[@title]')) content = extract_text(result.xpath('.//div[@class="files"]')) files_data = extract_text(result.xpath('.//div[@class="tail"]')).split() filesize = get_torrent_size(files_data[FILESIZE], files_data[FILESIZE_MULTIPLIER]) |