bs4_loader.py -> beautiful_soup_loader.py, add to supported loaders
This commit is contained in:
parent
322ef156cb
commit
f84e31c626
3 changed files with 14 additions and 0 deletions
|
|
@ -27,3 +27,10 @@ try:
|
|||
__all__.append("AdvancedPdfLoader")
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
try:
|
||||
from .beautiful_soup_loader import BeautifulSoupLoader
|
||||
|
||||
__all__.append("BeautifulSoupLoader")
|
||||
except ImportError:
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue