44 dom = html.fromstring(resp.text)
46 for result
in eval_xpath_list(dom, results_xpath):
49 'url': base_url + extract_text(eval_xpath(result, url_xpath)),
50 'title': extract_text(eval_xpath(result, title_xpath)),
51 'thumbnail': extract_text(eval_xpath(result, thumbnail_xpath)),
52 'content': extract_text(eval_xpath(result, info_text_xpath)),
53 'metadata': extract_text(eval_xpath(result, author_xpath)),