chore(connectors): add category and search validation fields

This commit is contained in:
2026-03-12 09:56:34 +00:00
parent 01d6bd0164
commit c12f1b4371
5 changed files with 24 additions and 9 deletions

View File

@@ -10,8 +10,10 @@ from server.connectors.base import BaseConnector
logger = logging.getLogger(__name__)
class RedditAPI(BaseConnector):
source_name = "reddit"
display_name = "Reddit"
source_name: str = "reddit"
display_name: str = "Reddit"
search_enabled: bool = True
categories_enabled: bool = True
def __init__(self):
self.url = "https://www.reddit.com/"