aboutsummaryrefslogtreecommitdiff
path: root/test/test_YoutubeDL.py
AgeCommit message (Collapse)Author
2025-02-23[core] Load plugins on demand (#11305)coletdjnz
- Adds `--no-plugin-dirs` to disable plugin loading - `--plugin-dirs` now supports post-processors Authored by: coletdjnz, Grub4K, pukkandan
2025-01-25[core] Fix float comparison values in format filters (#11880)Dioarya
Closes #10115 Authored by: Dioarya, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2024-12-23Don't sanitize filename on Unix when `--no-windows-filenames` (#9591)pukkandan
Closes #4547, Closes #8464 Authored by: pukkandan
2024-11-17[cleanup] Deprecate more compat functions (#11439)sepro
Authored by: seproDev
2024-09-27Fix format sorting bug with vp9.2 vcodec (#10884)rakslice
Authored by: rakslice
2024-07-09[core] Do not alter default format selection when simulated (#9862)sepro
Closes #9843 Authored by: seproDev
2024-06-12[cleanup] Add more ruff rules (#10149)sepro
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2024-03-31Infer `acodec` for single-codec containerspukkandan
2024-02-20[ie] Migrate commonly plural fields to lists (#8917)Lev
Authored by: llistochek, pukkandan Related: #3944
2023-12-30[cleanup] Misc (#8598)Simon Sawicki
Authored by: bashonly, pukkandan, seproDev, Grub4K Co-authored-by: bashonly <bashonly@protonmail.com> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com> Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2023-12-24[core] Fix format selection parse error for CPython 3.12 (#8797)Simon Sawicki
Authored by: Grub4K
2023-12-06[outtmpl] Support multiplicationpukkandan
Related: #8683
2023-09-24[core] Prevent RCE when using `--exec` with `%q` (CVE-2023-40581)Simon Sawicki
The shell escape function is now using `""` instead of `\"`. `utils.Popen` has been patched to properly quote commands. Prior to this fix using `--exec` together with `%q` when on Windows could cause remote code to execute. See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-42h4-v29r-42qg for reference. Authored by: Grub4K
2023-09-23[cleanup] Misc (#8182)bashonly
Closes #7796, Closes #8028 Authored by: barsnick, sqrtNOT, gamer191, coletdjnz, Grub4K, bashonly
2023-07-30[cleanup] Miscpukkandan
2023-07-22[cleanup] Misc fixespukkandan
Closes #7528
2023-07-22[outtmpl] Fix replacement for `playlist_index`pukkandan
2023-07-15[core] Fix HTTP headers and cookie handlingbashonly
- 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
2023-07-06[core] Change how `Cookie` headers are handledSimon Sawicki
Cookies are now saved and loaded under `cookies` key in the info dict instead of `http_headers.Cookie`. Cookies passed in headers are auto-scoped to the input URLs with a warning. Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj Authored by: Grub4K
2023-07-06[outtmpl] Pad `playlist_index` etc even when with internal formattingpukkandan
Closes #7501
2023-06-21Bugfix for ebe1b4e34f43c3acad30e4bcb8484681a030c114pukkandan
2023-06-21[cleanup] Miscpukkandan
Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773 Authored by: mikf, freezboltz, pukkandan
2023-06-21[outtmpl] Fix some minor bugspukkandan
Closes #7164
2023-05-27[core] Improve HTTP redirect handling (#7094)coletdjnz
Aligns HTTP redirect handling with what browsers commonly do and RFC standards. Fixes issues https://github.com/yt-dlp/yt-dlp/commit/afac4caa7db30804bebac33e53c3cb0237958224 missed. Authored by: coletdjnz
2023-05-20[cleanup] Miscpukkandan
Closes #7030, closes #6967
2023-04-24[outtmpl] Support `str.format` syntax inside replacementspukkandan
Closes #6843
2023-04-24[outtmpl] Allow `\n` in replacements and default.pukkandan
Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510055357 Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510363645
2022-11-17[extractor] Deprecate `_sort_formats`pukkandan
2022-09-03[outtmpl] Curly braces to filter keyspukkandan
2022-09-01[cleanup] Miscpukkandan
Closes #4710, Closes #4754, Closes #4723 Authored by: pukkandan, MrRawes, DavidH-2022
2022-08-05Fix tests for 989a01c2610832193c268d072ada8814bfd4c00dpukkandan
2022-07-09[cleanup] Misc cleanuppukkandan
2022-06-25[compat] Remove deprecated functions from core codepukkandan
2022-06-25[cleanup] Consistent style for file headspukkandan
2022-06-25[compat] Remove more functionspukkandan
Removing any more will require changes to a large number of extractors
2022-06-21[test] Fix `FakeYDL` signaturespukkandan
Authored by: coletdjnz
2022-06-17Add option `--lazy-playlist` to process entries as they are receivedpukkandan
2022-06-17Add slicing notation to `--playlist-items`pukkandan
* Adds support for negative indices and step * Add `-I` as alias for `--playlist-index` * Deprecates `--playlist-start`, `--playlist-end`, `--playlist-reverse`, `--no-playlist-reverse` Closes #2951, Closes #2853
2022-04-28Improve `--clean-infojson`pukkandan
It should not removes fields that may be needed for `--load-infojson`. Eg: `_ffmpeg_args`, `_has_drm`
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
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
2022-03-26[outtmpl] Fix replacement/default when used with alternatepukkandan
2022-03-25Ignore format-specific fields in initial pass of `--match-filter`pukkandan
Closes #3074
2022-02-23Add pre-processor stage `after_filter`pukkandan
* Move `_match_entry` and `post_extract` to `process_video_result`. It is also left in `process_info` for API compat * `--list-...` options and `--force-write-archive` now obey filtering options * Move `SponsorBlockPP` to `after_filter`. Closes https://github.com/yt-dlp/yt-dlp/issues/2536 * Reverts 4ec82a72bbf7ff0066edb50dcad20aa77ac2fe09 since this commit addresses the issue it was solving
2022-01-04[cleanup] Misc cleanuppukkandan
2022-01-03Add key `requested_downloads` in the root `info_dict`pukkandan
2021-12-30[outtmpl] Alternate form for `D` and fix suffix's casepukkandan
Fixes: https://github.com/yt-dlp/yt-dlp/issues/2085#issuecomment-1002247689, https://github.com/yt-dlp/yt-dlp/pull/2132/files#r775729811
2021-12-23[outtmpl] Change filename sanitization type to `S`pukkandan
`F` is already used for float! Bug in e0fd95737d1a3c4a2bfb470c5408a396c8545ca5
2021-12-23[cleanup] Misc cleanuppukkandan
Closes #1942 #1976 #2020 #2058 #1984
2021-12-23[outtmpl] Add alternate forms `F`, `D`pukkandan
and improve `id` detection F = sanitize as filename (# = restricted) D = add Decimal suffixes Closes #2085, 2081