Skip to main content

Batch upload talk videos to YouTube

Project description

This package uploads recordings from Pyvo to YouTube using YouTube API v3. It is based heavily on Google example code. It reads video metadata YAML files generated by Petr Viktorin’s talk video maker.

Usage

First, you need to authenticate with Google using OAuth 2.0. For that, you need client secrets file. One is bundled, you can also make your own in the Google Developers Console.

During the first run, you’ll get prompted to authenticate to a YouTube channel by opening a webpage in a browser and copying back a token. Those credentials are then stored by default in ~/.config/talk-video-uploader/youtube_credentials.json.

To upload videos, create a YAML file with metadata for each video file and give path to those files as arguments to talk-video-uploader.

YAML metadata example

fname: Videofile.mkv
date: 2018-01-01
event: Ostravské Pyvo
url: https://pyvo.cz/ostrava-pyvo/2018-01/
lightning: true
speaker: Jan Novák
title: Interesting topic
tags:
  - Python
  - Pyvo
  - Something
language:
  audio: cs

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

talk_video_uploader-0.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

talk_video_uploader-0.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file talk_video_uploader-0.1.tar.gz.

File metadata

  • Download URL: talk_video_uploader-0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for talk_video_uploader-0.1.tar.gz
Algorithm Hash digest
SHA256 370bc1ea85f56b9224c35b50f750cd0022d6a74fde2f5166e523578226dfabf8
MD5 4c17e93648433d560d74a9bbcd54e8a7
BLAKE2b-256 8372235772ed3cec1267338870f52f6887c05aec8320b3d01053744f2ec5092b

See more details on using hashes here.

File details

Details for the file talk_video_uploader-0.1-py3-none-any.whl.

File metadata

  • Download URL: talk_video_uploader-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for talk_video_uploader-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20aaa3bb8ed855a3de705972eb8484e4e815971d972d7958b4631ab65b7a628a
MD5 37cbe16a955f81c21ec83d3daf6af07d
BLAKE2b-256 584c3982adff3e533e0ecb493facebb67cf525b5f6df567bbe2ca1f4c6fc79d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page