Of course a better solution would be to upload to #PeerTube, monitor #PeerTube's RSS feed, and use YouTube's API to upload the video from here (see https://developers.google.com/youtube/v3/guides/uploading_a_video for example)
Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.