diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-10-04 09:06:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-04 09:06:20 +0200 |
| commit | b728cb610b92161609b1c40babff25749720fc25 (patch) | |
| tree | 733b665dd897cc8e4cd7e37f7d64a052c260d6f0 /searx/engines/yahoo_news.py | |
| parent | e2cd9b65bb2b2e1f1085cf48442632da0d52077e (diff) | |
| parent | 8f914a28facec314a2b98b11d3cc1207eb8ee8ab (diff) | |
Merge pull request #2241 from dalf/move-extract-text-and-url
Move the extract_text and extract_url functions to searx.utils
Diffstat (limited to 'searx/engines/yahoo_news.py')
| -rw-r--r-- | searx/engines/yahoo_news.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/yahoo_news.py b/searx/engines/yahoo_news.py index 345e4d91f..e9dd5d6db 100644 --- a/searx/engines/yahoo_news.py +++ b/searx/engines/yahoo_news.py @@ -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'] |