Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get video from facebook #4564

Closed
shirishag75 opened this issue Dec 25, 2014 · 1 comment
Closed

Unable to get video from facebook #4564

shirishag75 opened this issue Dec 25, 2014 · 1 comment

Comments

@shirishag75
Copy link

@shirishag75 shirishag75 commented Dec 25, 2014

Hi all,
I am unable to get video from fb :-

s$ youtube-dl -F "https://www.facebook.com/video.php?v=10152848246733898"
[facebook] 10152848246733898: Downloading webpage
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2014.12.01', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 355, in main
    _real_main(argv)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 345, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1117, in download
    res = self.extract_info(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 553, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 241, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/facebook.py", line 152, in _real_extract
    'duration': int(video_data['video_duration']),
KeyError: u'video_duration'

Looking forward for fix.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 25, 2014

You are using an outdated version of youtube-dl. Refer to our FAQ if you have trouble updating.

@dstftw dstftw closed this Dec 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.