{"id":15658,"date":"2018-08-27T11:53:22","date_gmt":"2018-08-27T09:53:22","guid":{"rendered":"https:\/\/www.digitalking.it\/?p=15658"},"modified":"2020-03-27T17:48:27","modified_gmt":"2020-03-27T16:48:27","slug":"download-videos-from-hundreds-of-video-sites-with-youtube-dl","status":"publish","type":"post","link":"https:\/\/www.digitalking.it\/en\/2018\/08\/27\/download-videos-from-hundreds-of-video-sites-with-youtube-dl\/","title":{"rendered":"Download videos from hundreds of video sites with youtube-dl"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p><a href=\"https:\/\/rg3.github.io\/youtube-dl\/\" target=\"_blank\" rel=\"noopener\">Youtube-dl<\/a> is a powerful multiplatform tool written in Python that allows to download videos from hundreds of video sites just using command line.<\/p>\n<p>It requires the Python interpreter (2.6, 2.7, or 3.2+), a Windows executable that includes Python is provided, so it will work out of the box.<br \/>\nYoutube-dl should work in your Unix box, in Windows or in Mac OS X.<\/p>\n<p>Once downloaded, if you are using Windows O.S. you just need to run it from command prompt, with the &#8211;help option you can see how many options are available.<\/p>\n<p><code>youtube-dl --help<\/code><\/p>\n<p><a href=\"https:\/\/imgur.com\/o2R23ic\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" title=\"youtube-dl\" src=\"https:\/\/i.imgur.com\/o2R23ic.jpg\" \/><\/a><\/p>\n<p>To download a video use the following format:<\/p>\n<p><code>youtube-dl [OPTIONS] URL [URL...]<\/code><\/p>\n<p>Lets see some examples that show you how youtube-dl works.<\/p>\n<p>To see the available quality formats for a Youtube video use the &#8211;list-formats option:<\/p>\n<p><code>youtube-dl --list-formats https:\/\/www.youtube.com\/watch?v=2Vv-BfVoq4g<\/code><\/p>\n<p>Choose the desidered format (the number of the first column named format code) and specify it using the -f option. The default download location is the path where you have youtube-dl but you can change it using the -o option:<\/p>\n<p><code>youtube-dl -f 137 -o \"C:\\temp\\%(title)s.%(ext)s\" https:\/\/www.youtube.com\/watch?v=2Vv-BfVoq4g<\/code><\/p>\n<p>To just extract only audio from a Youtube video and save it in mp3 format you can use the &#8211;extract-audio and &#8211;audio-format options:<\/p>\n<p><code>youtube-dl --extract-audio --audio-format mp3 https:\/\/www.youtube.com\/watch?v=2Vv-BfVoq4g<\/code><\/p>\n<p>If you get the error message ffprobe or avprobe not found. Please install one you just need to download <a href=\"https:\/\/www.ffmpeg.org\/download.html\" target=\"_blank\" rel=\"noopener\">FFmpeg<\/a>, extract it and copy the .exe files from bin folder inside the youtube-dl folder.<\/p>\n<p>To download a Youtube playlist use the following command:<\/p>\n<p><code>youtube-dl -cik -o \"C:\\temp\\%(title)s.%(ext)s\" -\u2013format mp4 -\u2013yes-playlist https:\/\/www.youtube.com\/playlist?list=PLaq655wqcKDnUvTOizhqwNCiiF_grL1vh<\/code><\/p>\n<p>The \u201cc\u201d option means to resume partially downloaded files. The \u201ci\u201d option means to ignore any errors. The \u201ck\u201d means to keep the video on the disk after the post-processing is finished.<\/p>\n<p>Youtube-dl is a fantastic tool that allows to download videos from many sites like Facebook, Vimeo, etc&#8230;, you can see the impressive <a href=\"https:\/\/rg3.github.io\/youtube-dl\/supportedsites.html\" target=\"_blank\" rel=\"noopener\">list of supported sites<\/a>.<\/p>\n<p>Someone has also developed frontends for Youtube-dl, so you can use the tool with a GUI.<br \/>\nOne of the most popular is <a href=\"https:\/\/github.com\/MrS0m30n3\/youtube-dl-gui\" target=\"_blank\" rel=\"noopener\">Youtube-DLG<\/a>, its usage is simple.<br \/>\nOther interesting GUIs are <a href=\"https:\/\/jarbun.github.io\/downline\/\" target=\"_blank\" rel=\"noopener\">Downline<\/a> (installer and portable versions for Windows, Linux, Mac), Tartube (Windows and Linux), <a href=\"https:\/\/github.com\/dantheman213\/JackTheVideoRipper\" target=\"_blank\" rel=\"noopener\">JackTheVideoRipper<\/a> (Windows), <a href=\"https:\/\/streambuffre.com\" target=\"_blank\" rel=\"noopener\">StreamBuffRe<\/a> (installer and portable versions for Windows and Linux).<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading time:<\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Youtube-dl is a powerful multiplatform tool written in Python that allows to download videos from hundreds of video sites just using command line. It requires<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":"","footnotes":""},"categories":[3484,3487],"tags":[3744,3826,3827,3817,3828,3829],"class_list":["post-15658","post","type-post","status-publish","format-standard","hentry","category-software-en","category-windows-en","tag-download-en","tag-downloader-en","tag-facebook-en","tag-video-en","tag-youtube-en","tag-youtube-dl-en"],"author_meta":{"display_name":"Simone","author_link":"https:\/\/www.digitalking.it\/en\/author\/admin\/"},"featured_img":null,"coauthors":[],"tax_additional":{"categories":{"linked":["<a href=\"https:\/\/www.digitalking.it\/en\/category\/software-en\/\" class=\"advgb-post-tax-term\">Software<\/a>","<a href=\"https:\/\/www.digitalking.it\/en\/category\/windows-en\/\" class=\"advgb-post-tax-term\">Windows<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">Software<\/span>","<span class=\"advgb-post-tax-term\">Windows<\/span>"]},"tags":{"linked":["<a href=\"https:\/\/www.digitalking.it\/en\/category\/windows-en\/\" class=\"advgb-post-tax-term\">download<\/a>","<a href=\"https:\/\/www.digitalking.it\/en\/category\/windows-en\/\" class=\"advgb-post-tax-term\">downloader<\/a>","<a href=\"https:\/\/www.digitalking.it\/en\/category\/windows-en\/\" class=\"advgb-post-tax-term\">facebook<\/a>","<a href=\"https:\/\/www.digitalking.it\/en\/category\/windows-en\/\" class=\"advgb-post-tax-term\">video<\/a>","<a href=\"https:\/\/www.digitalking.it\/en\/category\/windows-en\/\" class=\"advgb-post-tax-term\">youtube<\/a>","<a href=\"https:\/\/www.digitalking.it\/en\/category\/windows-en\/\" class=\"advgb-post-tax-term\">youtube-dl<\/a>"],"unlinked":["<span class=\"advgb-post-tax-term\">download<\/span>","<span class=\"advgb-post-tax-term\">downloader<\/span>","<span class=\"advgb-post-tax-term\">facebook<\/span>","<span class=\"advgb-post-tax-term\">video<\/span>","<span class=\"advgb-post-tax-term\">youtube<\/span>","<span class=\"advgb-post-tax-term\">youtube-dl<\/span>"]}},"comment_count":"0","relative_dates":{"created":"Posted 8 years ago","modified":"Updated 7 years ago"},"absolute_dates":{"created":"Posted on August 27, 2018","modified":"Updated on March 27, 2020"},"absolute_dates_time":{"created":"Posted on August 27, 2018 11:53 am","modified":"Updated on March 27, 2020 5:48 pm"},"featured_img_caption":"","series_order":"","_links":{"self":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts\/15658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/comments?post=15658"}],"version-history":[{"count":0,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/posts\/15658\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/media?parent=15658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/categories?post=15658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalking.it\/en\/wp-json\/wp\/v2\/tags?post=15658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}