Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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(),