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] No video formats found for private posts #10058

Open
9 of 11 tasks
RABIDYOTE opened this issue May 29, 2024 · 1 comment
Open
9 of 11 tasks

[Facebook] No video formats found for private posts #10058

RABIDYOTE opened this issue May 29, 2024 · 1 comment
Labels
account-needed Account details are needed to test/fix this site-bug Issue with a specific website triage Untriaged issue

Comments

@RABIDYOTE
Copy link

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

United States

Provide a description that is worded well enough to be understood

When attempting to download a Facebook video that is non-Public and using the --cookies-from-browser command, yt-dlp will throw an error. This issue appeared while I was attempting to figure out a warning I was receiving; it didn't seem to affect the video download, but it kept coming up. I ended up clearing my cookies from Facebook entirely and logging in again, and that's when I started receiving these errors. I can verify that the URL itself works in my browser as well as playing the video itself. Changing my Enhanced Tracking Protection settings, globally or otherwise, does not seem to fix the issue, nor does restarting my browser. I have tried using both of these commands, --cookies-from-browser firefox and --cookies cookies.txt, which seem to have varying results. The first command doesn't appear to work with either URL format, even if I specify the profile I want to use. The second command initially didn't work until I tried another video, and additionally doesn't work with mbasic URLS. I have tried multiple videos as well as multiple URL formats, and alternating commands.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['--cookies-from-browser', 'firefox', 'https://www.facebook.com/ruby.touchdown/videos/1109948050108075', '-vU']
[debug] Portable config "C:\Users\jprig\Documents\yt-dlp\yt-dlp.conf": ['-o', '${USERPROFILE}/Documents/yt-dlp/output/facebook-%(id)s.%(ext)s', '--ffmpeg-location', '${USERPROFILE}/Documents/yt-dlp/ffmpeg/bin', '--no-mtime']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.05.27 from yt-dlp/yt-dlp [12b248ce6] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-115429-gb2b23f353a-20240528 (setts), ffprobe N-115429-gb2b23f353a-20240528
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.2, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\jprig\AppData\Roaming\Mozilla\Firefox\Profiles\oelowrnv.default-release\cookies.sqlite"
Extracted 1762 cookies from firefox
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1820 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.05.27 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.05.27 from yt-dlp/yt-dlp)
[facebook] Extracting URL: https://www.facebook.com/ruby.touchdown/videos/1109948050108075
[facebook] 1109948050108075: Downloading webpage
WARNING: [facebook] unable to extract uploader; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
ERROR: [facebook] 1109948050108075: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1606, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1762, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1821, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2825, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 1104, in raise_no_formats
yt_dlp.utils.ExtractorError: [facebook] 1109948050108075: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
@RABIDYOTE RABIDYOTE added site-bug Issue with a specific website triage Untriaged issue labels May 29, 2024
@bashonly bashonly added the account-needed Account details are needed to test/fix this label May 29, 2024
@bashonly bashonly changed the title [Facebook] No video formats found [Facebook] No video formats found for private posts May 29, 2024
@HomeStarRunnerTron
Copy link

I don't know if this is useful information, but I found in my Network Activity that you'll get two long URLs, one for video and one for audio, and the relevant part of each is everything before "&bytestart=". Then, it'll download the full MP4 for both video and audio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
account-needed Account details are needed to test/fix this site-bug Issue with a specific website triage Untriaged issue
Projects
None yet
Development

No branches or pull requests

3 participants