Non riesco a scaricare video di Facebook utilizzando youtube-dl
. Durante il download si verifica il seguente errore:
$ 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
Risposta accettata:
Quando si utilizza youtube-dl
prova a ripulire l'URL che usi. Ad esempio, il seguente URL sarà lavoro. Grazie per il video ^_~.
- https://www.facebook.com/video.php?v=10152588878600983
Come hai installato youtube-dl
? Se l'hai installato tramite apt
, consiglierei quanto segue:
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
sembra avere una versione più aggiornata.
Alcuni personaggi devono essere sfuggiti per evitare problemi. Puoi citare il tuo URL per evitare questi problemi:
youtube-dl 'https://domain.tld/path/file.ext'