mirror of
https://github.com/searxng/searxng.git
synced 2025-12-27 14:10:00 +00:00
[mod] move extract_text, extract_url to searx.utils
This commit is contained in:
@@ -13,12 +13,11 @@ import re
|
||||
from datetime import datetime, timedelta
|
||||
from urllib.parse import urlencode
|
||||
from lxml import html
|
||||
from searx.engines.xpath import extract_text, extract_url
|
||||
from searx.engines.yahoo import (
|
||||
parse_url, _fetch_supported_languages, supported_languages_url, language_aliases
|
||||
)
|
||||
from dateutil import parser
|
||||
from searx.utils import match_language
|
||||
from searx.utils import extract_text, extract_url, match_language
|
||||
|
||||
# engine dependent config
|
||||
categories = ['news']
|
||||
|
||||
Reference in New Issue
Block a user