I am unable to download Facebook video using youtube-dl
. The following error occurs during downloading:
$ youtube-dl https://www.facebook.com/video.php?v=10152588878600983&set=vb.107925785982&type=2&theater
[1] 5101
[2] 5102
[3] 5103
theater: command not found
[2]- Done set=vb.107925785982
[3]+ Done type=2
[2]- Done set=vb.107925785982
[3]+ Done type=2
$ [generic] video: Requesting header
$ WARNING: Falling back on generic information extractor.
[generic] video: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol>
[1]+ Exit 1 youtube-dl
https://www.facebook.com/video.php?v=10152588878600983
When using youtube-dl
try to clean up the URL you use. For example, the following URL will work. Thanks for the video ^_~.
How did you install youtube-dl
? If you installed it through apt
, I would recommend the following:
sudo apt-get remove youtube-dl
sudo apt-get install $(apt-cache depends youtube-dl | grep Depends | sed "s/.*ends:\ //" | tr '\n' ' ')
sudo pip install youtube-dl
pip
seems to have a more up-to-date version.
Some characters need to be escaped to prevent issues. You can single-quote your URL to help prevent these issues:
youtube-dl 'https://domain.tld/path/file.ext'
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments