Skip to content

A script that tracks Twitcasting live streams(using the Twitcasting API), sends it to a discord webhook and then downloads it.

Notifications You must be signed in to change notification settings

Spicadox/auto-twitcasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-twitcasting

Overview

A script that tracks Twitcasting live streams(using the Twitcasting API), sends it to a discord webhook and then downloads it.

This script checks whenever a stream goes live, then it can send the notification to a discord webhook, it can then also download the stream using yt-dlp, all while also logging all the information.

Installation and Requirements

This program requires the requests module which can be installed using the requirements text file. A requirements text file has been included and the command pip3 install -r requirements.txt (or pip) can be used to install the required dependencies(except FFMPEG and yt-dlp).

yt-dlp is also required to download the livestream and must either be in the current working directory or added to PATH.

How To Use

Since this program runs and obtains the Twitcasting live streams through the Twitcasting API, users must go to the Twitcasting developer page and create an application in order to obtain the ClientID and ClientSecret, both of which will be needed to obtain the Access Token(see the Twitcasting API doc for more detail) in order to use this script.

Put the Access Code and configure all the necessary settings in the const.py.example file(if you haven't already renamed const.py.example to const.py, do so now).

Note: This script currently only works on Windows due to the way the subprocess args are configured. Configure the subprocess args yourself if you're not using Windows

About

A script that tracks Twitcasting live streams(using the Twitcasting API), sends it to a discord webhook and then downloads it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages