This commit is contained in:
Pavel
2023-10-12 19:40:23 +04:00
parent 2cfb416fd0
commit 719ca63ec1
4 changed files with 109 additions and 46 deletions

View File

@@ -1,13 +1,13 @@
# from sitemap_loader import SitemapLoader
# from crawler_loader import CrawlerLoader
from application.parser.remote.sitemap_loader import SitemapLoader
from application.parser.remote.crawler_loader import CrawlerLoader
from application.parser.remote.web_loader import WebLoader
class RemoteCreator:
loaders = {
'url': WebLoader,
# 'sitemap': SitemapLoader,
# 'crawler': CrawlerLoader
'sitemap': SitemapLoader,
'crawler': CrawlerLoader
}
@classmethod