unlisted-stream-sender

所属分类:构建工具
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2024-03-29 20:13:12
上 传 者sh-1993
说明:  一个python文件,它获取未上市Youtube直播的标题,并通过webhook将其发布到Guilded服务器上
(A python file that grabs the title of your unlisted Youtube livestream and posts it on your Guilded server via a webhook)

文件列表:
unlisted-stream-sender.py

# unlisted-stream-sender A python file that grabs the title of your unlisted Youtube livestream and posts it on your Guilded server via a webhook Creating a OAuth Client ID: - Go to console.cloud.google.com - create a new project - head over to the library - select 'YouTube Data API v3' and enable - head over to the credential section and create a consent screen - then create a OAuth 2.0 Client ID and save the .json file Creating a webhook URL: - Go to the channel you want the webhook you want to deploy the webhook on - right click > settings > webhooks > create a webhook - keep the webhook url , you will need it Using the python file: - I have added comments in the code showing where you place the .json file as well as where you paste your webhook url you obtain from guilded - the scope can be adjusted to whatever you need it to be **IMPORTANT:** I set the file to be constantly running every minute to check your channel to see if you're live or not. It will print out messages on the console saying if you are live or not. Python libraries needed : - google-api-python-client - google-auth-oauthlib References: https://www.youtube.com/watch?v=vQQEaSnQ_bs&t

近期下载者

相关文件


收藏者