{"id":2200,"date":"2014-07-15T06:28:45","date_gmt":"2014-07-15T02:28:45","guid":{"rendered":"http:\/\/nayarweb.com\/blog\/?p=2200"},"modified":"2014-07-15T12:29:29","modified_gmt":"2014-07-15T08:29:29","slug":"download-youtube-videosaudios-from-cli","status":"publish","type":"post","link":"https:\/\/nayarweb.com\/blog\/2014\/download-youtube-videosaudios-from-cli\/","title":{"rendered":"Download Youtube Videos\/Audios from CLI"},"content":{"rendered":"<p>Everyone downloads videos and audio from YouTube. There are countless plugins for it. Some work. Some don&#8217;t. Some just redirect you to their website. Some just stalk your browsing history. <\/p>\n<p>youtube-dl is the solution [<a href=\"http:\/\/askubuntu.com\/a\/145563\">1<\/a>]<\/p>\n<p><code>$ sudo apt-get install youtube-dl<\/code><\/p>\n<p>Downloading Video<br \/>\n<code>$ youtube-dl {videourl} <\/code><\/p>\n<p>Downloading only the MP3, [<a href=\"http:\/\/askubuntu.com\/a\/178991\">2<\/a>]<br \/>\n<code>$ youtube-dl --extract-audio --audio-format mp3 {videourl}<\/code><\/p>\n<p>Isn&#8217;t it awesome?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Everyone downloads videos and audio from YouTube. There are countless plugins for it. Some work. Some don&#8217;t. Some just redirect you to their website. Some just stalk your browsing history. youtube-dl is the solution [1] $ sudo apt-get install youtube-dl Downloading Video $ youtube-dl {videourl} Downloading only the MP3, [2] $ youtube-dl &#8211;extract-audio &#8211;audio-format mp3 &hellip; <a href=\"https:\/\/nayarweb.com\/blog\/2014\/download-youtube-videosaudios-from-cli\/\" class=\"continue-reading\">Continue reading <span class=\"screen-reader-text\">Download Youtube Videos\/Audios from CLI<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[57,61,109],"class_list":["post-2200","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-kubuntu","tag-linux","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/comments?post=2200"}],"version-history":[{"count":3,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2200\/revisions"}],"predecessor-version":[{"id":2203,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2200\/revisions\/2203"}],"wp:attachment":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/media?parent=2200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/categories?post=2200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/tags?post=2200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}