add youtube API

This commit is contained in:
Nova Cat 2024-11-20 09:48:54 -08:00
parent 7101f94ff7
commit d92130e93a

View file

@ -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__
}