diff options
| author | Alexandre Flament <alex@al-f.net> | 2016-10-22 14:25:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-22 14:25:50 +0200 |
| commit | a88768efd8ee6b832febda8508cb1ba3c8778b94 (patch) | |
| tree | a42f1078ce421a69edb7088c642461b6c05f7022 /searx/engines/digbt.py | |
| parent | f90eb428c679d3852d9738f6279d045283340562 (diff) | |
| parent | 85c7237a4f26cea523d5c3b8a863058e459ca07a (diff) | |
Merge branch 'master' into http1.1
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]) |