User Tools

Site Tools


linux:tools:downloader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:tools:downloader [2022/04/11 09:47] – created mslinux:tools:downloader [2023/01/11 20:29] (current) – external edit 127.0.0.1
Line 26: Line 26:
 z.B.: https://www.youtube.com/playlist?list=PLzMcBGfZo4-kwmIcMDdXSuy_wSqtU-xDP (Playlist-URL) z.B.: https://www.youtube.com/playlist?list=PLzMcBGfZo4-kwmIcMDdXSuy_wSqtU-xDP (Playlist-URL)
 <code> <code>
-youtube-dl -cit <Playlist-URL>+youtube-dl --continue --ignore-errors <Playlist-URL> 
 +youtube-dl -ci <Playlist-URL>  
 +youtube-dl -ci <Playlist-URL> -o "%(title)s-%(id)s.%(ext)s"
 </code> </code>
  
Line 38: Line 40:
 <code> <code>
 youtube-dl -j --flat-playlist "https://www.youtube.com/path/to/videos" | jq -r '.id, .title' | sed 's_^_https://youtu.be/_;n' > video_list_title.txt youtube-dl -j --flat-playlist "https://www.youtube.com/path/to/videos" | jq -r '.id, .title' | sed 's_^_https://youtu.be/_;n' > video_list_title.txt
 +</code>
 +
 +====== yt-dlp ======
 +===== Installation =====
 +<code>
 +sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
 +sudo chmod a+rx /usr/local/bin/yt-dlp
 +</code>
 +<code>
 +yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" <URL>
 +
 +cat urls
 +https://youtu.be/0tjWWS2DGmU
 +https://youtu.be/Cyqahzn-cXw
 +...
 +
 +for i in `cat urls`
 +do
 +yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" $i
 +done
 </code> </code>
linux/tools/downloader.1649663275.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki