User Tools

Site Tools


downloadfromyoutube

Differences

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

Link to this comparison view

Next revision
Previous revision
downloadfromyoutube [2013/06/08 14:41]
carl created
downloadfromyoutube [2020/05/09 14:48] (current)
carl
Line 1: Line 1:
-This package enables you to download [[multimedia]] videos from youtube.com on your [[debian]]-installed computer.+====== youtube-dl ======
  
-====== Installation ====== +This [[gnulinux|Linux]] package enables you to download [[multimedia]] videos from youtube.com on your [[debian]]-installed computer.
-<code>sudo aptitude install ffmpeg rtmpdump +
-wget ftp://ftp.at.debian.org/debian-backports/pool/main/y/youtube-dl/youtube-dl_2012.01.05-2~bpo60+1_all.deb +
-sudo dpkg -i youtube-dl_2012.01.05-2~bpo60+1_all.deb +
-sudo youtube-dl -U +
-sudo youtube-dl http://www.youtube.com/watch?v=DsPYENB88wk +
-</code>+
  
-====== Usage ====== +===== Installation ===== 
-<code>youtube-dl http://www.youtube.com/watch?v=DsPYENB88wk</code>+<code>sudo apt install youtube-dl</code>
  
 +Update (latest version needed):
 +<code>sudo youtube-dl -U</code>
 +
 +===== Usage =====
 +To download a video:
 +<code>youtube-dl http://www.youtube.com/watch?v=DsPYENB88wk</code>
 source: http://bredsaal.dk/downloading-youtube-videos-using-debian-ubuntu source: http://bredsaal.dk/downloading-youtube-videos-using-debian-ubuntu
 +
 +To download only the sound in MP3 format:
 +<code>youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=hy3W-3HPMWg</code>
 +source: https://askubuntu.com/questions/178481/how-to-download-an-mp3-track-from-a-youtube-video
 +
 +This also works for other websites, e.g. rtbf.be :
 +<code>youtube-dl --extract-audio --audio-format mp3 https://www.rtbf.be/auvio/detail_le-journal-de-12h?id=2633236</code>
downloadfromyoutube.1370695315.txt.gz · Last modified: 2013/06/08 14:41 by carl