Skip to content

[facebook] "Cannot parse data" with cookies (impersonation needed) #15161

Description

@sew3521

Checklist

Region

USA

Provide a description that is worded well enough to be understood

I am currently unable to download some videos from Facebook. It seems like older videos and Reels work fine.

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: ['-vU', 'https://www.facebook.com/1620978459/videos/2306498449816137/?idorvanity=144287478966603', '--cookies-from-browser', 'firefox']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2025.11.12 from yt-dlp/yt-dlp [335653be8] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 2025-10-21-git-535d4047d3-full_build-www.gyan.dev (setts)
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.2.0, certifi-2025.10.05, curl_cffi-0.13.0, mutagen-1.47.0, requests-2.32.5, sqlite3-3.40.1, urllib3-2.5.0, websockets-15.0.1, yt_dlp_ejs-0.3.1
[debug] JS runtimes: none
[debug] Proxy map: {}
Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\stephen.wesche\AppData\Roaming\Mozilla\Firefox\Profiles\1389z6e5.default-release\cookies.sqlite"
[debug] Firefox cookies database version: 16
Extracted 2614 cookies from firefox
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1844 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2025.11.12 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2025.11.12 from yt-dlp/yt-dlp)
[facebook] Extracting URL: https://www.facebook.com/1620978459/videos/2306498449816137/?idorvanity=144287478966603
[facebook] 2306498449816137: Downloading webpage
[facebook] 2306498449816137: Downloading webpage
ERROR: [facebook] 2306498449816137: Cannot parse data; 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
  File "yt_dlp\extractor\common.py", line 762, in extract
  File "yt_dlp\extractor\facebook.py", line 946, in _real_extract
  File "yt_dlp\extractor\facebook.py", line 891, in _extract_from_url

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions