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

Facebook: Unable to extract single video id #26906

Closed
lucmp opened this issue Oct 16, 2020 · 5 comments
Closed

Facebook: Unable to extract single video id #26906

lucmp opened this issue Oct 16, 2020 · 5 comments

Comments

@lucmp
Copy link

@lucmp lucmp commented Oct 16, 2020

Checklist

  • [x ] I'm reporting a broken site support issue
  • [x ] I've verified that I'm running youtube-dl version 2020.09.20
  • [x ] I've checked that all provided URLs are alive and playable in a browser
  • [x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

$ youtube-dl -v https://web.facebook.com/DonaldTrump/posts/10165632688355725
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://web.facebook.com/DonaldTrump/posts/10165632688355725']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.5.3 (CPython) - Linux-4.9.0-3-amd64-x86_64-with-debian-9.4
[debug] exe versions: avconv 3.3.4, avprobe 3.3.4, ffmpeg 3.3.4, ffprobe 3.3.4, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[facebook] 10165632688355725: Downloading webpage
ERROR: Unable to extract single video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 532, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/facebook.py", line 479, in _real_extract
video_id = self._search_regex(r'video_id:\s*"([0-9]+)"', webpage, 'single video id')
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1010, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract single video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

WRITE DESCRIPTION HERE
I have downloaded many videos from Facebook with youtube-dl. Today, it failed with the error message provided in the output above.

@anantdark
Copy link

@anantdark anantdark commented Oct 16, 2020

Yep, i also replicated the same error.

@october262
Copy link

@october262 october262 commented Oct 16, 2020

play the video and click the three dots ... above right of the video and click "copy link"
and then paste into youtube-dl to download the video

@anantdark
Copy link

@anantdark anantdark commented Oct 16, 2020

Yes, working now.

@anantdark
Copy link

@anantdark anantdark commented Oct 16, 2020

Issue SOLVED.

@lucmp
Copy link
Author

@lucmp lucmp commented Oct 17, 2020

Yes, that approach works for me too. Thank you.

@lucmp lucmp closed this Oct 17, 2020
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
3 participants
You can’t perform that action at this time.