|
@@ -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):
|