Skip to content

ThatCoffeeGuy/ytharvester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 

Repository files navigation

ytharvest

Easy youtube-channel and playlist ripper using simple bash and yt-dl.

Disclamer:

By no means this is a nice or finished script, I am aware of how horrendous it looks, but it works. Improvements to come!

Requirements:

https://github.com/yt-dlp/yt-dlp installed in /usr/local/bin/yt-dlp

https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid for ytcookie extraction in client browser

ffmpeg

optional: git for colored messages (yes, I was lazy to use ANSI bash codes)

Example usage:

./harvest.sh https://www.youtube.com/c/shiey Shiey

This will:

1.) Create a folder called Shiey

2.) Create a list.txt in target folder, ensuring there are no duplicates downloaded

3.) Download videos in highest avilable quality, with the following flags:

--download-archive list.txt --ignore-errors --verbose --cookies ytcookie --write-subs --sub-langs "en.*,de,hu" --embed-thumbnail --embed-metadata --embed-chapters

4.) Compare directory sizes once finished

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages