mirror of
https://github.com/searx/searx
synced 2024-12-11 16:35:20 +01:00
Remove debug log from onesearch engine
This commit is contained in:
parent
4b785677d8
commit
f1f3ad97d9
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user