Skip to content

anhcraft/ytb-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YTB Downloader

A simple GUI for yt-dlp.

https://i.imgur.com/vJOuWBb.png

Features

  • Support various websites (as long as yt-dlp supports)
    • Tested sites: Youtube, Reddit, Tiktok, Twitter, Weibo
  • Fetch videos from playlist
  • Download the best format
  • Download video-only or audio-only
  • Embed thumbnail
  • Concurrent downloading
  • Continue downloading after interrupt
  • Logging to file and console
  • CJK font support

Requirement

Installation

Windows

  • Download FFmpeg (including ffmpeg and ffprobe)
  • Download yt-dlp binary file
  • Configure using GUI or via file (see below)

Linux

  • Install FFmpeg: sudo apt install ffmpeg (including ffmpeg and ffprobe)
  • Locate FFmpeg binary file: sudo dpkg -L ffmpeg (usually /usr/bin/ffmpeg)
  • Download yt-dlp binary file
  • Configure using GUI or via file (see below)

Configuration

Open the file settings.json via an editor or command: sudo nano settings.json.

Example configuration for Linux environment:

{
  "format":"Default",
  "embedThumbnail":"AudioOnly",
  "ytdlpPath":"/yt-dlp_linux",
  "ffmpegPath":"/usr/bin/ffmpeg",
  "concurrentDownloads":1,
  "concurrentFragments":3,
  "logPath": "./log.txt"
}

Notes

  • If you use the Windows installer, the default installation path is C:\Program Files (x86)\YTB Downloader

Building

  • To build the program, first install Fyne: go install fyne.io/fyne/v2/cmd/fyne@latest
  • Build the program: sudo ./build.sh