See here for a writeup on why I created this
You will need a YouTube API key. To obtain one, follow Google's documentation on the matter: https://developers.google.com/youtube/v3/getting-started
Create a file named "config.yaml" based off "config.yaml.example" with the following fields filled in:
- recipients:: Email addresses of recipients
- sender_email:: Email address of sender
- sender_password:: Email password of sender
- smtp_host: SMTP host of sender's email
- youtube_api_key: Your YouTube API Key
Ensure your "config.yaml" file is in the same directory as "main.py"
- PyYAML for parsing config YAML
- Jinja2 for generating HTML
- google-api-python-client for interacting with the YouTube v3 API
To install packages run:
$ pip install -r requirements.txt
It is recommended you do this within a virtual environment.
To run:
$ ./main.py
if/usr/bin/python3
is a valid path$ python3 main.py
otherwise
Email code is tailored to specific email servers - it may require modification to work with your setup.