@ -23,7 +23,10 @@ def response(resp):
doc = fromstring(resp.text)
for r in doc.xpath(result_xpath):
try:
res_url = r.xpath(url_xpath)[-1]
except:
continue
if not res_url:
title = html_to_text(''.join(r.xpath(title_xpath)))