No puedo descargar videos de Facebook usando youtube-dl
. Se produce el siguiente error durante la descarga:
$ 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
Tribal peoples have developed ways of life that are largely self-sufficient and extraordinarily diverse. But they are portrayed as backward and primitive simply because their communal ways are different.We won't give up until we have a world where tribal peoples are respected as contemporary societies. But we depend on your support: www.survivalinternational.org/actnowLike: Survival International & Films For Action
Posted by Films For Action on Monday, December 15, 2014
Respuesta aceptada:
Al usar youtube-dl
intenta limpiar la URL que usas. Por ejemplo, la siguiente URL podrá trabaja. Gracias por el vídeo ^_~.
- https://www.facebook.com/video.php?v=10152588878600983
¿Cómo instalaste youtube-dl
? ? Si lo instalaste a través de apt
, recomendaría lo siguiente:
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
parece tener una versión más actualizada.
Es necesario escapar de algunos caracteres para evitar problemas. Puede incluir comillas simples en su URL para ayudar a prevenir estos problemas:
youtube-dl 'https://domain.tld/path/file.ext'