This guide provides and explains a Python script that uploads a YouTube video using the YouTube Data API. The code uses the Google APIs Client Library for Python.
Guide: https://developers.google.com/youtube/v3/guides/uploading_a_video
Install the following in your terminal:
pip install --upgrade google-api-python-client
pip install --upgrade google-auth-oauthlib google-auth-httplib2
pip install oauth2client
python3 upload_video.py --file="example.mov" --title="Summer vacation in California" --description="Had fun surfing in Santa Cruz" --keywords="surfing,Santa Cruz" --category="22" --privacyStatus="private"
https://techpostplus.com/youtube-video-categories-list-faqs-and-solutions/
Issue: https://stackoverflow.com/a/64695395
Audit Form: https://developers.google.com/youtube/v3/docs/videos/insert