Scripting way to upload videos to peertube and youtube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
meewan 010931d8b7 pep8 6 years ago
lib pep8 6 years ago
.gitignore store youtube credentials in a file to avoid asking creds for each uploads 6 years ago
LICENSE initial commit 6 years ago fix magic package name 6 years ago
peertube_secret.sample add peertube URL and https/http config to the peertube_secret config file 6 years ago pep8 6 years ago
youtube_secret.json.sample use youtube_secret instead of client_secret to allow more flexibility (possibility to use peertube_secret) 6 years ago


A scripting way to upload videos to peertube and youtube


Search in your package manager, otherwise use pip install --upgrade

  • google-auth
  • google-auth-oauthlib
  • google-auth-httplib2
  • google-api-python-client
  • docopt
  • schema
  • python-magic
  • requests-toolbelt

How To

Currently in heavy development

Support only mp4 for cross compatibily between Youtube and Peertube

./ --help
ptyt_upload - tool to upload videos to Peertube and Youtube

Usage: --file=<FILE> [options] -h | --help --version

  --name=NAME  Name of the video to upload. default to video file name
  -d, --description=STRING  Description of the video.
  -t, --tags=STRING  Tags for the video. comma separated
  -h --help  Show this help.
  --version  Show version.



inspired by peeror and youtube-upload