mirror of
https://github.com/searx/searx
synced 2025-08-30 22:16:19 +00:00
Remove debug log from onesearch engine
This commit is contained in:
@@ -47,7 +47,6 @@ def response(resp):
|
|||||||
onesearch_urls = eval_xpath(doc, '//div[contains(@class, "algo")]//h3[contains(@class, "title")]/a/@href')
|
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):
|
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)
|
matches = re.search(r'RU=(.*?)\/', onesearch_url)
|
||||||
results.append({
|
results.append({
|
||||||
'title': title_tag.text_content(),
|
'title': title_tag.text_content(),
|
||||||
|
Reference in New Issue
Block a user