fix(connectors): category / search fields breaking
Ideally category and search are fully optional, however some sites break if one or the other is not provided. Unfortuntely `boards.ie` has a different page type for searches and I'm not bothered to implement a scraper from scratch. In addition, removed comment limit options.
This commit is contained in:
@@ -17,7 +17,6 @@ class BaseConnector(ABC):
|
||||
def get_new_posts_by_search(self,
|
||||
search: str = None,
|
||||
category: str = None,
|
||||
post_limit: int = 10,
|
||||
comment_limit: int = 10
|
||||
post_limit: int = 10
|
||||
) -> list[Post]:
|
||||
...
|
||||
Reference in New Issue
Block a user