|
@@ -40,7 +40,7 @@ def response(resp):
|
40
|
40
|
results = list()
|
41
|
41
|
for result in search_res:
|
42
|
42
|
url = urljoin(URL, result.xpath('.//a[@title]/@href')[0])
|
43
|
|
- title = result.xpath('.//a[@title]/text()')[0]
|
|
43
|
+ title = extract_text(result.xpath('.//a[@title]'))
|
44
|
44
|
content = extract_text(result.xpath('.//div[@class="files"]'))
|
45
|
45
|
files_data = extract_text(result.xpath('.//div[@class="tail"]')).split()
|
46
|
46
|
filesize = get_torrent_size(files_data[FILESIZE], files_data[FILESIZE_MULTIPLIER])
|