Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Cannot download Facebook videos #2505
Comments
|
I've fixed the user login in version 2014.03.04.1. Type |
youtube-dl fails for Facebook videos. It told me to report it to this site, so I am:
Here, I use my Facebook username and password:
myname@computer:~$ youtube-dl -u xxxxxxxxxxxxx@gmail.com -p xxxxxxxxxx -v https://www.facebook.com/photo.php?v=10100415889945344
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-u', '', '-p', '', '-v', 'https://www.facebook.com/photo.php?v=10100415889945344']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.03
[debug] Python version 2.7.4 - Linux-3.8.0-22-generic-x86_64-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[facebook] Logging in
ERROR: Unable to extract lsd; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
self.initialize()
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 156, in initialize
self._real_initialize()
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 92, in _real_initialize
self._login()
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 54, in _login
lsd = self._search_regex(r'"lsd":"(\w*?)"', login_page, u'lsd')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 360, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract lsd; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Same thing if I don't use the username and password:
myname@computer:
$ youtube-dl https://www.facebook.com/photo.php?v=10100415889945344$ youtube-dl -v https://www.facebook.com/photo.php?v=10100415889945344[facebook] 10100415889945344: Downloading webpage
ERROR: The video is not available, Facebook said: "The page you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may have expired, or you may not have permission to view this page."
myname@computer:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.facebook.com/photo.php?v=10100415889945344']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.03
[debug] Python version 2.7.4 - Linux-3.8.0-22-generic-x86_64-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[facebook] 10100415889945344: Downloading webpage
ERROR: The video is not available, Facebook said: "The page you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may have expired, or you may not have permission to view this page."
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 162, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 111, in _real_extract
expected=True)
ExtractorError: The video is not available, Facebook said: "The page you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may have expired, or you may not have permission to view this page."