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 extract video ids` Facebook video URL #11103

Closed
todrobbins opened this issue Nov 2, 2016 · 3 comments
Closed

`Unable to extract video ids` Facebook video URL #11103

todrobbins opened this issue Nov 2, 2016 · 3 comments

Comments

@todrobbins
Copy link

@todrobbins todrobbins commented Nov 2, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.11.02
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other
$ youtube-dl --verbose https://www.facebook.com/yonasda/posts/10154913970456412
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://www.facebook.com/yonasda/posts/10154913970456412']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.02
[debug] Python version 2.7.10 - Darwin-16.1.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.2, ffprobe 3.2
[debug] Proxy map: {}
[facebook] 10154913970456412: Downloading webpage
ERROR: Unable to extract video ids; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 357, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/facebook.py", line 329, in _real_extract
    webpage, 'video ids', group='ids'),
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 660, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video ids; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description of your issue, suggested solution and other information

Not sure if this is a facebook.py parsing issue or not. Thanks!

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 2, 2016

Yes that's a known bug and I haven't found a way to fix it. For this video, you can download it with:

youtube-dl https://www.facebook.com/yonasda/videos/10154913951561412/

Please move to #11017 for further discussion.

@yan12125 yan12125 closed this Nov 2, 2016
@todrobbins
Copy link
Author

@todrobbins todrobbins commented Nov 2, 2016

Gotcha! So manually swap out the /posts slug for /videos as a workaround for now?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 2, 2016

So manually swap out the /posts slug for /videos as a workaround for now?

yeah

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.