Get schedule data from various sources
Go to file
Kody 52b82bc5b1
Lint / Lint (push) Successful in 31s Details
legally blonde
2023-09-25 17:59:58 +02:00
.forgejo/workflows Setup CI for Forgejo 2023-09-20 22:12:21 +02:00
.vscode style: vscode's settings.json wasn't in git 2023-08-29 11:15:54 +02:00
.gitignore style: vscode's settings.json wasn't in git 2023-08-29 11:15:54 +02:00
.python-version Setup CI for Forgejo 2023-09-20 22:12:21 +02:00
LICENSE Add license 2017-12-04 13:22:01 +00:00
README.md Stop using imgur, use a (chibi|loli)safe 2023-05-18 21:33:38 +02:00
arial.ttf Initial commit 2017-12-04 14:06:45 +01:00
config.ini.dist chore(genImg): Switching the image hosting code 2023-08-22 09:50:29 +02:00
discord_hooks.py Can now add custom colors; pass flake8 for discord_hooks; fixes 2018-02-01 22:14:23 +01:00
fetch.py Yogi Bear; Scoob WAY 2023-09-08 10:22:43 +02:00
fix_showname.py jessica and scoob 2023-09-20 22:02:02 +02:00
id_shows.py Bakugan ID 2018-12-22 12:13:53 +01:00
pyproject.toml Use Ruff 2023-04-19 00:22:32 +02:00
requirements.txt Update requirements.txt 2023-09-25 02:20:02 +00:00
show_colors.py legally blonde 2023-09-25 17:59:58 +02:00

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 details
  • python 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