Skip to content

Keeps a offline-version of a Youtube-Playlist and updates it

Notifications You must be signed in to change notification settings

benehmb/YoutubeDLAutoDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Auto Download

[TOC]

Youtube-DL

  1. Youtube-DL installieren:
pip install youtube-dl
  1. Playlist / Video downloaden
yotube-dl <link to Playlist>

More on the official GitHub - ytdl-org/youtube-dl: Command-line program to download videos from YouTube.com and other video sites -page

Eine Liste der Lieder in einer Playlist:

youtube-dl -j --flat-playlist 'https://www.youtube.com/playlist?list=<pl>' >> output.json

Konvertieren

YoutubeDL konvertiert mit ffpmpeg, was wir direkt unter Windows angeben können (Download FFmpeg):

youtube-dl -f bestaudio LinkToVideoOrPlaylistHere -o /Download/%(title)s.%(ext)s --ffmpeg-location %CD%\ffmpeg\bin

oder unter linux installieren können:

sudo apt-get install ffmpeg

Playlists abgleichen

  1. Offline alles löschen, was online nicht existiert
  2. Online alles Löschen, was Offline existiert
  3. Index Updaten
  4. Rest Downloaden

Beispiel

Beispiel

Song 3 Löschen, Song 5 Runterladen und Online zu neuem Offline-Index machen.

Python Programm

Downloader und Converter

Usage:

main.py <pl_url/song_url> [-o <output_folder> -i <offline_index_file>]
main.py <pl_url/song_url> [-o <output_folder> -i <offline_index_file]

Argumente:

  • Playlist/Song
  • (-o Output)
  • (-i Offline-Index File)

About

Keeps a offline-version of a Youtube-Playlist and updates it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages