From d92130e93a1bac120b6831cb37ce08de53254316 Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Wed, 20 Nov 2024 09:48:54 -0800 Subject: [PATCH] add youtube API --- sweebot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sweebot.py b/sweebot.py index 72e4084..8e1c299 100644 --- a/sweebot.py +++ b/sweebot.py @@ -12,6 +12,9 @@ import threading from pathlib import Path from requests import get, exceptions as rex from bs4 import BeautifulSoup +from googleapiclient.discovery import build + +DEVELOPER_KEY = environ["ytapi"] headers = { 'User-Agent': 'SweeBot IRC ' + __version__ }