bs4_loader.py -> beautiful_soup_loader.py, add to supported loaders

This commit is contained in:
Daulet Amirkhanov 2025-10-21 17:11:27 +01:00
parent 322ef156cb
commit f84e31c626
3 changed files with 14 additions and 0 deletions

View file

@ -27,3 +27,10 @@ try:
__all__.append("AdvancedPdfLoader")
except ImportError:
pass
try:
from .beautiful_soup_loader import BeautifulSoupLoader
__all__.append("BeautifulSoupLoader")
except ImportError:
pass

View file

@ -23,3 +23,10 @@ try:
supported_loaders[AdvancedPdfLoader.loader_name] = AdvancedPdfLoader
except ImportError:
pass
try:
from cognee.infrastructure.loaders.external import BeautifulSoupLoader
supported_loaders[BeautifulSoupLoader.loader_name] = BeautifulSoupLoader
except ImportError:
pass