aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/cookies.py
Commit message (Collapse)AuthorAgeFilesLines
* [cookies] Containers JSON should be opened as utf-8 (#7800)bashonly2023-08-121-1/+1
| | | | Closes #7797 Authored by: bashonly
* [networking] Remove dot segments during URL normalization (#7662)coletdjnz2023-07-281-3/+3
| | | | | | | This implements RFC3986 5.2.4 remove_dot_segments during the URL normalization process. Closes #3355, #6526 Authored by: coletdjnz
* [cleanup] Misc fixespukkandan2023-07-221-5/+5
| | | | Closes #7528
* [utils] Add temporary shim for loggingpukkandan2023-07-151-19/+4
| | | | Related: #5680, #7517
* [fd/external] Scope cookiesbashonly2023-07-061-0/+7
| | | | | | | | | | | | - ffmpeg: Calculate cookies from cookiejar and pass with `-cookies` arg instead of `-headers` - aria2c, curl, wget: Write cookiejar to file and use external FD built-in cookiejar support - httpie: Calculate cookies from cookiejar instead of `http_headers` - axel: Calculate cookies from cookiejar and disable http redirection if cookies are passed - May break redirects, but axel simply don't have proper cookie support Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj Authored by: bashonly, coletdjnz
* [cleanup] Miscpukkandan2023-06-211-0/+4
| | | | | Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773 Authored by: mikf, freezboltz, pukkandan
* [cookies] Revert compatibility breakage in ↵pukkandan2023-06-211-10/+10
| | | | b38d4c941d1993ab27e4c0f8e024e23c2ec0f8f8
* [cookies] Update for chromium changes (#6897)Matt Broadway2023-05-291-49/+138
| | | Authored by: mbway
* [cookies] Support custom Safari cookies path (#6783)Nam Vu2023-05-291-7/+11
| | | Authored by: NextFire
* [cookies] Move `YoutubeDLCookieJar` to cookies module (#7091)coletdjnz2023-05-271-1/+143
| | | Authored by: coletdjnz
* [cookies] Defer extraction of v11 key from keyringSimon Sawicki2023-03-081-2/+8
| | | | | Closes #6082 Authored by: Grub4K
* [cookies] Improve `LenientSimpleCookie` (#5195)Simon Sawicki2022-10-111-17/+13
| | | | Closes #5186 Authored by: Grub4K
* [cookies] Let `_get_mac_keyring_password` fail gracefullypukkandan2022-09-261-1/+4
| | | | Closes #4915
* Improve 5736d79172c47ff84740d5720467370a560febadpukkandan2022-09-171-2/+2
|
* [cookies] Parse cookies leniently (#4780)Simon Sawicki2022-09-161-0/+96
| | | | | Closes #4776, #3778 Authored by: Grub4K
* Fix bug in 941e881e1fe20ee8955f3b751ce26953d9e86656 (#4893)bashonly2022-09-111-1/+2
| | | Authored by: bashonly
* [cleanup] Miscpukkandan2022-09-011-2/+8
| | | | | Closes #4710, Closes #4754, Closes #4723 Authored by: pukkandan, MrRawes, DavidH-2022
* [cookies] Improve container support (#4806)bashonly2022-09-011-14/+14
| | | | Closes #4800 Authored by: bashonly, pukkandan, coletdjnz
* [cookies] Support firefox container in `--cookies-from-browser` (#4753)bashonly2022-08-301-9/+36
| | | Authored by: bashonly
* Import ctypes only when necessarypukkandan2022-08-031-3/+4
| | | | Closes #4541
* [compat] Remove deprecated functions from core codepukkandan2022-06-251-2/+2
|
* [cleanup] Consistent style for file headspukkandan2022-06-251-1/+1
|
* [compat] Remove more functionspukkandan2022-06-251-4/+5
| | | | Removing any more will require changes to a large number of extractors
* [utils] `Popen`: Refactor to use contextmanagerpukkandan2022-06-161-21/+12
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
* [cleanup] Misc fixespukkandan2022-06-111-6/+3
| | | | Closes #4027
* [cookies] Detect profiles for cygwin/BSD (#3975)Christoph Moench-Tegeder2022-06-061-18/+12
| | | | Closes #3370 Authored by: moench-tegeder
* Fix color in `-q -F`pukkandan2022-05-171-1/+1
| | | | | | and convert `ydl._out_files`/`ydl._allow_colors` to `Namespace` Closes #3761
* Bugfix for 241464919271278831f23b3a086dcf57aeb80d3bpukkandan2022-05-171-4/+2
|
* [cleanup] Misc cleanuppukkandan2022-05-171-14/+2
|
* [cookies] Throttle progress-barpukkandan2022-05-121-4/+10
| | | | Closes #3710
* [cookies] Allow `cookiefile` to be a text streampukkandan2022-05-111-2/+5
| | | | Closes #3674
* [cleanup] Minor fixes (See desc)pukkandan2022-05-091-10/+10
| | | | | | | | | | * [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup
* [dependencies] Create module with all dependency importspukkandan2022-04-211-26/+9
|
* [cleanup] Misc cleanup and refactor (#2173)pukkandan2022-04-181-19/+16
|
* [cleanup] Sort importspukkandan2022-04-121-10/+2
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-29/+29
| | | | | | | | | | Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
* [cookies] Report progress when importing cookiespukkandan2022-04-101-38/+86
|
* [cleanup] Misc fixespukkandan2022-04-051-5/+6
| | | | | | Closes https://github.com/yt-dlp/yt-dlp/pull/3213, Closes https://github.com/yt-dlp/yt-dlp/pull/3117 Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114, https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671, https://github.com/yt-dlp/yt-dlp/commit/a825ffbffa0bea322e3ccb44c6f8e01d8d9572fb#commitcomment-68538986, https://github.com/yt-dlp/yt-dlp/issues/2360, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393519, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393254
* [cookies] Update MacOS12 `Cookies.binarycookies` location (#2742)Michael Pauley2022-02-141-1/+4
| | | Authored by: mdpauley
* [aes] Add unpad_pkcs7pukkandan2022-02-011-4/+7
|
* [cookies] Fix keyring selection for unsupported desktopspukkandan2022-01-241-2/+1
| | | | Closes #2450
* [cookies] Fix bug when keyring is unspecifiedpukkandan2021-12-301-1/+1
| | | | Closes #2167
* [cookies] Support other keyrings (#2032)Matt Broadway2021-12-271-56/+264
| | | Authored by: mbway
* [docs,cleanup] Improve docs and minor cleanuppukkandan2021-10-311-2/+2
| | | | Closes #1387, #1404, #1408, #1485, #1415, #1450, #1492
* [cookies] Local State should be opened as utf-8pukkandan2021-10-221-1/+1
| | | | Closes #1276
* Don't create console for subprocesses on Windows (#1261)pukkandan2021-10-201-8/+8
| | | Closes #1251
* [cookies] Fix keyring fallback (#1078)Matt Broadway2021-09-251-7/+12
| | | | | | The password returned by `security find-generic-password` has a newline at the end Closes #1073 Authored by: mbway
* [aes] Add `aes_gcm_decrypt_and_verify` (#1020)Ákos Sülyi2021-09-191-17/+6
| | | Authored by: sulyi, pukkandan
* [hls,aes] Fallback to native implementation for AES-CBCpukkandan2021-09-181-8/+3
| | | | | | | and detect `Cryptodome` in addition to `Crypto` Closes #935 Related: #938
* [cookies] Make browser names case insensitivepukkandan2021-09-121-0/+1
|