Commit bbddad63 authored by Arnau Vàzquez's avatar Arnau Vàzquez
Browse files

Merge branch '4174b-fix-onesearch' into 'master'

Removed safesearch debbug log

Closes e/backlog#4174

See merge request e/cloud/my-spot!82
parents 354092b8 fcb5dd67
......@@ -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(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment