feat(connectors): implement category validation in scraping process
This commit is contained in:
@@ -22,4 +22,8 @@ class BaseConnector(ABC):
|
||||
category: str = None,
|
||||
post_limit: int = 10
|
||||
) -> list[Post]:
|
||||
...
|
||||
|
||||
@abstractmethod
|
||||
def category_exists(self, category: str) -> bool:
|
||||
...
|
||||
Reference in New Issue
Block a user