feat(youtube): add YouTube uploader via browser automation

Add a YouTube uploader that follows the existing cookie-based browser
automation pattern (uploader/youtube_uploader + sau youtube CLI:
login/check/upload-video). Supports title/description/tags, thumbnail,
adding to a playlist (for series), and visibility (public/unlisted/private).

Browser automation is used instead of the official Data API on purpose:
videos uploaded by an unaudited API project are force-locked to private
and cannot be made public without Google's compliance audit, which is
impractical for personal/single-channel use. Browser automation has no
such restriction and matches how every other platform here works.
This commit is contained in:
nirolee
2026-06-14 01:05:35 +09:00
parent 90e01c0106
commit 991bcdfdf3
5 changed files with 389 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
from pathlib import Path
from conf import BASE_DIR
Path(BASE_DIR / "cookies" / "youtube_uploader").mkdir(exist_ok=True)