]> jfr.im git - yt-dlp.git/commit
[core] Fix HTTP headers and cookie handling
authorbashonly <redacted>
Sat, 15 Jul 2023 20:22:10 +0000 (15:22 -0500)
committerbashonly <redacted>
Sat, 15 Jul 2023 20:25:45 +0000 (15:25 -0500)
commit6c5211cebeacfc53ad5d5ddf4a659be76039656f
tree94c09b4fae723e5aceade4797ead6876827d0e6d
parent2b029ca0a9f9105c4f7626993fa60e54c9782749
[core] Fix HTTP headers and cookie handling

- Remove `Cookie` header from `http_headers` immediately after loading into cookiejar
- Restore compat for `--load-info-json` cookies
- Add more tests
- Fix improper passing of Cookie header by `MailRu` extractor

Closes #7558
Authored by: bashonly, pukkandan
test/test_YoutubeDL.py
test/test_YoutubeDLCookieJar.py
yt_dlp/YoutubeDL.py
yt_dlp/downloader/common.py
yt_dlp/extractor/mailru.py