major rework of ythdd.py, new method for setting config in ythdd_globals.py

- slightly modified config, api keys now have the value "CHANGEME"
- requirements.txt has new dependency, flask apscheduler
- ythdd.py has been reworked, support for argument parsing has been added, code is now split into functions
- ythdd_api_v1.py features real uptime as well
- ythdd_db.py is no longer dependent on ythdd_globals.py
- ythdd_globals.py has a method for setting config and getting it from configfile variable
This commit is contained in:
2024-12-12 11:02:11 +01:00
parent c60f7db698
commit 1e4b05c33b
7 changed files with 161 additions and 60 deletions

View File

@@ -9,3 +9,6 @@ greenlet>=3.1.0
SQLAlchemy>=2.0.36.dev0
Flask-SQLAlchemy>=3.1.1
toml>=0.10.2
Flask-APScheduler>=1.13.1
requests>=2.32.3
yt_dlp