dongzhaorui 3 lat temu
rodzic
commit
4050261ed0
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      find_source/crawler/search_engine.py

+ 1 - 2
find_source/crawler/search_engine.py

@@ -2,13 +2,12 @@ from abc import abstractmethod, ABCMeta
 
 from crawler.analysis import parse_urls
 from crawler.download import Downloader
-from settings import MGO_SEARCH
 
 
 class JySearchEngine(Downloader, metaclass=ABCMeta):
 
     def __init__(self):
-        self.mgo_instance = MGO_SEARCH
+        pass
 
     @abstractmethod
     def search(self, keyword: str):