- --file - required, takes path to video file as a string. Can leave blank if --skip-upload is passed.
- --title - optional, takes title of video as a string. Defaults to "Test Title"
- --description - optional, description of video as a string. Defaults to "Test Description"
- --category - optional, takes category of video as a string. Defaults to "22" (Blogs or whatever)
- --keywords - optional, takes keywords for video as a string. Defaults to ""
- --privacyStatus - optional, takes privacy status of video as a string. Defaults to "private", requires audit to use "public" or "unlisted"
- --playlistID - optional, takes playlist ID to add video to as a string. Skips if no value is passed.
- --skip-upload - optional, binary flag (no input value), skips the upload step and just adds the video to a playlist.
- --videoID - optional, takes video ID as a string. Skips the upload step and adds the video to a playlist manually. If using --skip-upload, this is required for the script to work.
- --testing - optional, binary flag. just prints the args that were passed into the script and exits.
python Vod-Uploader.py --file="video_file_name.mp4" --description="description here" --category="22" --privacyStatus="unlisted" --keywords="keyword1,keyword2,keyword3" --title="Title here"
python Vod-Uploader.py --file="video_file_name.mp4" --description="description here" --category="22" --privacyStatus="unlisted" --keywords="keyword1,keyword2,keyword3" --title="Title here" --playlistID="playlist id here"
python Vod-Uploader.py --file="" --playlistID="playlist id here" --skip-upload --videoID="video id here"