feat: replace yt-dlp cookies with YouTube Data API v3 OAuth

- Add auth.py: OAuth credential manager with auto-refresh
- Rewrite fetcher.py: use googleapiclient subscriptions/search
- Add google-auth, google-api-python-client dependencies
- Update docker-compose for config volume mount
- Add .gitignore for secrets (client_secret.json, token.pickle)
- Live test: 198 videos ingested from 229 channels
This commit is contained in:
Gan, Jimmy
2026-06-24 00:14:16 +08:00
parent dba070531e
commit a0ffa41c9e
7 changed files with 658 additions and 67 deletions
+3
View File
@@ -19,3 +19,6 @@ config/cookies.txt
.env
.env.*
.DS_Store
token.pickle
config/client_secret.json
config/token.pickle