]> jfr.im git - yt-dlp.git/commit - yt_dlp/cookies.py
[cookies] Fix `--cookies-from-browser` DE detection on Linux (#10237)
authorPeisen Wang <redacted>
Sat, 22 Jun 2024 23:25:16 +0000 (07:25 +0800)
committerGitHub <redacted>
Sat, 22 Jun 2024 23:25:16 +0000 (23:25 +0000)
commita8520244b8642880e4d35925e9e49eff94d548de
tree1c6c6f2e39ad055b3edf5d8bfab39fbe68e46184
parent8ca1d57ed08d00efa117820a5a82f763b20e2d1d
[cookies] Fix `--cookies-from-browser` DE detection on Linux (#10237)

Align with chromium source by parsing every part of `XDG_CURRENT_DESKTOP`

Authored by: peisenwang
test/test_cookies.py
yt_dlp/cookies.py