Remove debug log from onesearch engine

This commit is contained in:
Israel Yago Pereira 2021-11-17 15:15:17 -03:00
parent 4b785677d8
commit f1f3ad97d9
1 changed files with 0 additions and 1 deletions

View File

@ -47,7 +47,6 @@ def response(resp):
onesearch_urls = eval_xpath(doc, '//div[contains(@class, "algo")]//h3[contains(@class, "title")]/a/@href')
for title_tag, content, onesearch_url in zip(titles_tags, contents, onesearch_urls):
print(f"{title_tag.text_content()} ---> {onesearch_url}")
matches = re.search(r'RU=(.*?)\/', onesearch_url)
results.append({
'title': title_tag.text_content(),