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.

48 lines
1.4 KiB

6 years ago
6 years ago
6 years ago
6 years ago
  1. # ptyt_upload
  2. A scripting way to upload videos to peertube and youtube
  3. ## Dependencies
  4. Search in your package manager, otherwise use ``pip install --upgrade``
  5. - google-auth
  6. - google-auth-oauthlib
  7. - google-auth-httplib2
  8. - google-api-python-client
  9. - docopt
  10. - schema
  11. - python-magic
  12. - requests-toolbelt
  13. ## How To
  14. Currently in heavy development
  15. Support only mp4 for cross compatibily between Youtube and Peertube
  16. ```
  17. ./ptyt_upload.py --help
  18. ptyt_upload - tool to upload videos to Peertube and Youtube
  19. Usage:
  20. ptyt_upload.py --file=<FILE> [options]
  21. ptyt_upload.py -h | --help
  22. ptyt_upload.py --version
  23. Options:
  24. --name=NAME Name of the video to upload. default to video file name
  25. -d, --description=STRING Description of the video.
  26. -t, --tags=STRING Tags for the video. comma separated
  27. -h --help Show this help.
  28. --version Show version.
  29. ```
  30. ## Features
  31. - [x] Youtube upload
  32. - [x] Peertube upload
  33. - [ ] Support of all videos arguments (description, tags, category, licence, ...)
  34. - [ ] Use a config file (NFO) file to retrieve videos arguments
  35. - [ ] Record and forget: put the video in a directory, and the script uploads it for you
  36. - [ ] Usable on Desktop (Linux and/or Windows and/or MacOS)
  37. - [ ] Graphical User Interface
  38. ## Sources
  39. inspired by [peeror](https://git.drycat.fr/rigelk/Peeror) and [youtube-upload](https://github.com/tokland/youtube-upload)