Lint / Lint (push) Successful in 31s
Details
|
||
---|---|---|
.forgejo/workflows | ||
.vscode | ||
.gitignore | ||
.python-version | ||
LICENSE | ||
README.md | ||
arial.ttf | ||
config.ini.dist | ||
discord_hooks.py | ||
fetch.py | ||
fix_showname.py | ||
id_shows.py | ||
pyproject.toml | ||
requirements.txt | ||
show_colors.py |
README.md
CTOON Schedule Fetcher
Get schedule data from Cartoon Network and Zap2it
Install
Install pyenv with the correct python version
apt install -y git curl build-essential libreadline-gplv2-dev libssl-dev libbz2-dev libsqlite3-dev zlib1g-dev
- Follow the pyenv doc to install + add to the
$PATH
: https://github.com/pyenv/pyenv-installer source ~/.bashrc
pyenv install 3.6.4
Get the code and deps
git clone https://gitlab.com/ctoon/cn-schedule-fetcher.git
cd cn-schedule-fetcher
pip install -r requirements.txt
Copy, edit config and run the script
cp config.ini.dist config.ini
$EDITOR config.ini
and add your Discord webhook URL + your (chibi|loli)safe file upload detailspython fetch.py
and look it run
You can then create a cron or something I guess.
Source
discord_hooks.py
is from https://github.com/kyb3r/Discord-Hooks