add youtube API
This commit is contained in:
parent
7101f94ff7
commit
d92130e93a
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ import threading
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from requests import get, exceptions as rex
|
from requests import get, exceptions as rex
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
from googleapiclient.discovery import build
|
||||||
|
|
||||||
|
DEVELOPER_KEY = environ["ytapi"]
|
||||||
headers = {
|
headers = {
|
||||||
'User-Agent': 'SweeBot IRC ' + __version__
|
'User-Agent': 'SweeBot IRC ' + __version__
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue