An open API service indexing awesome lists of open source software.

https://github.com/gotneb/goyt

Download videos from youtube in go
https://github.com/gotneb/goyt

cli go youtube

Last synced: 2 months ago
JSON representation

Download videos from youtube in go

Awesome Lists containing this project

README

        

# goyt
Download videos from youtube in go
## Installation
```
go install github.com/gotneb/goyt@latest
```
## Usage
```
________ __
/ _____/ ____ ___.__._/ |_
/ \ ___ / _ < | |\ __\
\ \_\ ( <_> )___ | | |
\______ /\____// ____| |__|
\/ \/

Simple program that downloads videos from Youtube

Usage: goyt [OPTIONS]

Options:
-u, Takes in single URL as input and download video
-i, Takes in single ID as input and download video
-hd, Downloads video in HD quality [DEFAULT 360p]
-n, Renames file after downloaded
-h, Prints help menu

Example:
- Download video:
$ goyt -u https://www.youtube.com/watch?v=Isim0ysZ6X4
- HD quality:
$ goyt -hd true -u https://www.youtube.com/watch?v=Isim0ysZ6X4
- Renamed file:
$ goyt -n hawking -u https://www.youtube.com/watch?v=Isim0ysZ6X4
```