Scripting way to upload videos to peertube and youtube
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
meewan 010931d8b7 pep8 pirms 6 gadiem
lib pep8 pirms 6 gadiem
.gitignore store youtube credentials in a file to avoid asking creds for each uploads pirms 6 gadiem
LICENSE initial commit pirms 6 gadiem
README.md fix magic package name pirms 6 gadiem
peertube_secret.sample add peertube URL and https/http config to the peertube_secret config file pirms 6 gadiem
ptyt_upload.py pep8 pirms 6 gadiem
youtube_secret.json.sample use youtube_secret instead of client_secret to allow more flexibility (possibility to use peertube_secret) pirms 6 gadiem

README.md

ptyt_upload

A scripting way to upload videos to peertube and youtube

Dependencies

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

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

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

Options:
  --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.

Features

Sources

inspired by peeror and youtube-upload