improve base config reading command line arg logic
This commit is contained in:
@@ -5,10 +5,6 @@ from playwright.async_api import BrowserContext, BrowserType
|
||||
|
||||
|
||||
class AbstractCrawler(ABC):
|
||||
@abstractmethod
|
||||
def init_config(self, platform: str, login_type: str, crawler_type: str, start_page: int, keyword: str):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
async def start(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user