uploading video to youtube and put it into your playlist.
- Register your project with Google and get the OAuth2.0 credentials, then put your client_id & client_secret into
client_secrets.json
in this project. - Open your project's dashboard, search
youtube data api v3
in the library and just enable it. pip3 install google-api-python-client oauth2client
- upload via command line
python3 youtube-upload.py --file="/tmp/test_video_file.flv" --title="Summer vacation in California" --description="Had fun surfing in Santa Cruz" --keywords="surfing,Santa Cruz" --category="22" --privacyStatus="private" --playlist="your playlist id"