diff options
Diffstat (limited to 'searx/engines/yahoo_news.py')
| -rw-r--r-- | searx/engines/yahoo_news.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/engines/yahoo_news.py b/searx/engines/yahoo_news.py index 1a0fd28f5..ae54a4acd 100644 --- a/searx/engines/yahoo_news.py +++ b/searx/engines/yahoo_news.py @@ -9,13 +9,13 @@ # @stable no (HTML can change) # @parse url, title, content, publishedDate -from urllib import urlencode +import re +from datetime import datetime, timedelta 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 -from datetime import datetime, timedelta -import re from dateutil import parser +from searx.url_utils import urlencode # engine dependent config categories = ['news'] |