38 dom = html.fromstring(resp.text)
40 for k, result
in enumerate(eval_xpath(dom, results_xpath)[1:]):
42 from_result, to_results_raw = eval_xpath(result,
'./td')
47 for to_result
in eval_xpath(to_results_raw,
'./p/a'):
48 t = to_result.text_content()
50 to_results.append(to_result.text_content())
54 'url': urljoin(str(resp.url),
'?%d' % k),
55 'title': from_result.text_content(),
56 'content':
'; '.join(to_results),