youwee icon indicating copy to clipboard operation
youwee copied to clipboard

Facebook Reels fallback: allow disabling browser cookies or per-site yt-dlp args

Open anhtahaylove opened this issue 5 months ago • 2 comments

Problem

Some public Facebook Reels fail in Youwee when Browser Cookies are enabled, even though the same Reel can be parsed by yt-dlp without cookies.

This looks like a Facebook extractor edge case where the logged-in/cookie page variant causes yt-dlp to fail with Cannot parse data.

Example

URL:

https://www.facebook.com/reel/1889836315019111

Youwee currently runs yt-dlp with browser cookies, similar to:

yt-dlp ... --cookies-from-browser firefox:<profile> ... https://www.facebook.com/reel/1889836315019111

Result:

ERROR: [facebook] 1889836315019111: Cannot parse data

Local checks with Youwee bundled yt-dlp:

yt-dlp-nightly version: 2026.06.24.234707

With cookies:

yt-dlp-nightly.exe -F --cookies-from-browser firefox:<profile> https://www.facebook.com/reel/1889836315019111

Fails with Cannot parse data.

Without cookies:

yt-dlp-nightly.exe -F https://www.facebook.com/reel/1889836315019111

Works and lists formats, including 1080x1920.

With impersonation + cookies:

yt-dlp-nightly.exe -F --impersonate chrome --cookies-from-browser firefox:<profile> https://www.facebook.com/reel/1889836315019111

Also works in this case.

Requested feature

Please consider one of these fallback options:

  1. Add a per-download toggle to disable Browser Cookies for public URLs.
  2. Add per-site settings, e.g. disable cookies for facebook.com/reel/* unless required.
  3. Add a Facebook Reels retry fallback: if yt-dlp returns [facebook] ... Cannot parse data while cookies are enabled, retry once without cookies.
  4. Support custom yt-dlp arguments in the yt-dlp command scope, not Aria2 args, so users can pass options such as --impersonate chrome.

Why this helps

Right now users may think Facebook Reels are unsupported, but some public Reels work if cookies are not passed. A small fallback or per-download auth override would make Youwee more reliable for Facebook without waiting on upstream yt-dlp extractor fixes.

Related upstream yt-dlp issue pattern:

  • https://github.com/yt-dlp/yt-dlp/issues/15161
  • https://github.com/yt-dlp/yt-dlp/issues/16482

Possibly related Youwee PR:

  • https://github.com/vanloctech/youwee/pull/72

anhtahaylove avatar Jun 25 '26 10:06 anhtahaylove

Ok, I wil consider it

vanloctech avatar Jun 27 '26 04:06 vanloctech

Released in v0.18.0

Image

vanloctech avatar Jun 28 '26 18:06 vanloctech