项目作者: Tony-Liou

项目描述 :
Upload videos to Youtube using Youtube Data API
高级语言: Go
项目地址: git://github.com/Tony-Liou/Youtube-Upload-Video.git
创建时间: 2020-05-30T14:29:08Z
项目社区:https://github.com/Tony-Liou/Youtube-Upload-Video

开源协议:MIT License

下载


Youtube Upload Video

Download a live-streaming and upload the dumped video to YouTube after the stream is ended.
If upload video to YouTube failed, uploading to Google Drive instead.

Installation

Environment

  • Linux

Prerequisites

Deployment

  • client_secret.json at the same directory with this app
  • youtube-go.json (oauth2 file) at ~/.credentials directory

Usage

  1. Clone this repo
  2. Delete some functions in streaminghandler.go that you do not want to use.
    E.g.,
    1. func notifyVideoId(videoID string)
  3. Build and run HttpServer.go then it will be ready to go
    1. go run HttpServer.go streaminghandler.go
  4. Press Ctrl+C to stop it

Credit

My GitHub web page template is powered by HTML5 UP

License

MIT