Fix critical bugs in app_urls #1
No files matched your search
@@ -8,10 +8,26 @@ from .logger import get_logger
|
||||
logger = get_logger()
|
||||
|
||||
from furl import furl
|
||||
from gnews import GNews
|
||||
from ddgs import DDGS
|
||||
|
||||
try:
|
||||
from gnews import GNews
|
||||
except ImportError:
|
||||
GNews = None
|
||||
logger.warning("gnews not installed — SearchGNews disabled")
|
||||
|
||||
try:
|
||||
from GoogleNews import GoogleNews
|
||||
except ImportError:
|
||||
GoogleNews = None
|
||||
logger.warning("GoogleNews not installed — SearchGoogleNews/SearchGoogleGeneral/SearchGoogleNewsRSS disabled")
|
||||
|
||||
try:
|
||||
from search_engines import Yahoo, Aol
|
||||
except ImportError:
|
||||
Yahoo = None
|
||||
Aol = None
|
||||
logger.warning("search_engines not installed — SearchYahooGeneral/SearchAOLGeneral disabled")
|
||||
|
||||
###########################################################################
|
||||
###########################################################################
|
||||
|
||||
@@ -14,7 +14,7 @@ googlenewsdecoder
|
||||
gnews
|
||||
GoogleNews
|
||||
ddgs
|
||||
git+https://gitea.matitos.org/matitos/search-engines-scraper.git
|
||||
git+https://github.com/tasos-py/Search-Engines-Scraper.git
|
||||
furl
|
||||
langdetect
|
||||
ollama
|
||||
|
||||
Reference in new issue
Block a user