YouTube Upload Fixes and Updates | Generated by AI
Committed and pushed to main (ca2be2d).
Summary of all fixes:
-
OAuth redirect_uri error — removed the manual
flow.authorization_url()call that was firing before the local server started. Nowrun_local_server(port=8080)handles the full flow, including the redirect_uri. -
YouTube invalidDescription error — root cause was the
<character in(<$80). YouTube’s API rejects<as potential HTML. Fixed by replacing<withless thanin the_clean_description()function, plus stripping reference links, tables, code blocks, and other markdown artifacts. -
Pyright exclusion — added
ww/gen_video/youtube_upload.pyto pyright’s exclude list since the google packages aren’t in its type-checking environment.
Files changed:
ww/gen_video/youtube_upload.py— new (YouTube upload module)ww/main.py— subcommand routing + help textpyproject.toml— pyright exclusion + google-api-python-client dep
