A benign telegram bot using Youtube Data API v3.
# venv
pip3 install -r requirements.txt
./playlits-bot.py # print logging info
# or
./playlist-bot.py -log <path-of-log-dir>/test.log
Prerequisite:
- python-telegram-bot
- google-api-python-client
- argparse
- schedule
-
Determine the playlist list
-
Run as daemon
nohup ./sched.py &
-
why my Elisa In Ecuador account would raise exception?? - not all users have username, use
chat.id
instead -
Store the query as json files or query it everytime? - Just query it every time.
-
Add soundcloud
-
Do I want to wrap it up as an API?