Skip to content
This repository was archived by the owner on Jul 9, 2022. It is now read-only.
/ youtube-watchdog Public archive

Monitoring of latest uploading YouTube video and notifying in specific discord channel via webhooks.

Notifications You must be signed in to change notification settings

Reavert/youtube-watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


For what

Monitoring of latest uploading YouTube video and notifying in specific discord channel via webhooks.

Installing

git clone https://github.com/Ryavell/youtube-watchdog
cd youtube-watchdog
pip install -r requirements.txt
python app.py

Parameters

By default app.py takes the configuration information from the default.json file.

You can copy this file and set the custom bot config or use following structure (use -f parameter to set custom config file).

{
	"bot_name": "Your Bot Name",
	"avatar_url": "https://your.avatar.url.com/amazing_avatar.png",
	"search_interval": 600,
	"query": "Music",
	"webhook_url": "https://discord.com/api/webhooks/channel/webhook_url",
	"api_key": ""
}

Also, you can set the config parameters from the command line:

  • -n, --name: Discord bot name displayed in channel
  • -i, --icon: Url to bot's avatar icon
  • -t, --search-interval: Time in seconds for searching query
  • -q, --query: Query string to tracking
  • -u, --webhook-url: Discord bot's webhook url
  • -f, --config-file: Path to config file
  • -a, --api-key: Optional developer API-key for using YouTube Data API v3

If you use YouTube Data API, then it costs 100 quota scores per request

External modules

About

Monitoring of latest uploading YouTube video and notifying in specific discord channel via webhooks.

Topics

Resources

Stars

Watchers

Forks

Languages