Example for Twitter youtube-dl -o %(id)s.%(ext)s It’s always a better option to right-click on the Facebook video and click Show video URL and copy the address from there, rather than from the browser’s address bar. After tidying up, it would look like below: For instance, if the URL you obtained looks like this: 348836293166471/?_xts_%5B0%5D=68.ARA2Gpon4RtqFugkspgIYR9Sw4mMFS9Fx1nlJTkN-KfquRjwtKnhVsRoV16hwHy_gB1dqVLT_Qfda9dzL22A_zV8ODLgIcq8wMMrgp5yaBSM2NQomKL0wxPPZNw2hIhg_CvSCAL_I64-CtEQvU8_oz5MlLPmAmdWzD5UEs9HhPTNxqhOvQnGwMaIMsDNhmIWqvi8MONKYQEKIc85gy7fqUbvM07WKvnjp5VkyU4xkM0Ct50DkuthmSXJAkVfC8Ascbu9rs0Udmei-6qaM3Y0mjXTpCgOgQ9PDP_WtETfhnY88QImVw6BtrSuoUjD9FrwsT56iCbNxNbALIoWmkZ5DhVJ7n2bfyfAlVxDBLeoBGFXRmZpaHcvkKw5EjQ4IlZC&_tn_=-R To avoid errors such as ERROR: unable to download video data: urlopen error _ssl.c:510: EOF occurred in violation of protocol, make sure you tidy up the Facebook URL. Example for YouTube Įxample for Facebook youtube-dl -o %(id)s.%(ext)s
For social media sharing, 360p or 240p videos would suffice in most cases. See Video quality selection section below for details.
For video quality selection, you’ll need to use the -f (format) parameter followed by the format code, which denotes the resolution. The best quality also means higher file download size.
Note: You’ll also need to install Visual C++ 2010 Redistributable Package (x86) in order to run youtube-dl. Download youtube-dl.exe from the following link: youtube-dl: Download Page:.But once you learn the basic command-line parameters, it’s extremely easy to download any video in a single click. Because it’s a command-line tool, many users tend to ignore this valuable utility. Youtube-dl.exe is an open-source command-line program that helps you download videos from YouTube, Twitter, Facebook, and many other video platforms. However, if you want to avoid the online video download portals and wish to download YouTube, Facebook, and Twitter videos from your computer directly (without an intermediary), this post is for you.ĭownload YouTube, Facebook, or Twitter Videos Directly