fix(connectors): incorrect registry location

Registry paths were using the incorrect connector path locations.
This commit is contained in:
2026-03-10 18:18:42 +00:00
parent 2a8d7c7972
commit 5ccb2e73cd
5 changed files with 16 additions and 10 deletions

View File

@@ -13,6 +13,9 @@ load_dotenv()
API_KEY = os.getenv("YOUTUBE_API_KEY")
class YouTubeAPI(BaseConnector):
source_name = "youtube"
display_name = "YouTube"
def __init__(self):
self.youtube = build('youtube', 'v3', developerKey=API_KEY)
@@ -44,7 +47,7 @@ class YouTubeAPI(BaseConnector):
author=comment_snippet['authorDisplayName'],
timestamp=datetime.datetime.strptime(comment_snippet['publishedAt'], "%Y-%m-%dT%H:%M:%SZ").timestamp(),
reply_to=None,
source="YouTube"
source=self.source_name
)
comments.append(comment)