aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/options.py
AgeCommit message (Collapse)Author
2021-11-04[cleanup] Minor cleanuppukkandan
2021-11-04[ExtractAudio] Rescale --audio-quality correctlypukkandan
Authored by: CrypticSignal, pukkandan
2021-10-31[docs,cleanup] Improve docs and minor cleanuppukkandan
Closes #1387, #1404, #1408, #1485, #1415, #1450, #1492
2021-10-24Separate `--check-all-formats` from `--check-formats`pukkandan
Previously, `--check-formats` tested only the selected video formats, but ALL thumbnails
2021-10-22Re-implement deprecated option `--id`pukkandan
Despite `--title`, `--literal` etc being deprecated, `--id` is still documented in youtube-dl and so should be kept
2021-10-19Add option `--no-batch-file` (#1335)Zirro
Authored by: Zirro
2021-10-18[ModifyChapters] Allow removing sections by timestamppukkandan
Eg: --remove-chapters "*10:15-15:00". The `*` prefix is used so as to avoid any conflicts with other valid regex
2021-10-12Fix verbose head not showing custom configspukkandan
2021-10-09[cleanup] Misc cleanuppukkandan
2021-10-09Improved progress reporting (See desc) (#1125)pukkandan
* Separate `--console-title` and `--no-progress` * Add option `--progress` to show progress-bar even in quiet mode * Fix and refactor `minicurses` * Use `minicurses` for all progress reporting * Standardize use of terminal sequences and enable color support for windows 10 * Add option `--progress-template` to customize progress-bar and console-title * Add postprocessor hooks and progress reporting Closes: #906, #901, #1085, #1170
2021-09-30[docs,cleanup] Some minor refactoring and improve docspukkandan
2021-09-30[postprocessor] Add plugin supportpukkandan
Adds option `--use-postprocessor` to enable them
2021-09-24Separate the options `--ignore-errors` and `--no-abort-on-error`pukkandan
In youtube-dl, `-i` ignores both download and post-processing error, and treats the download as successful even if the post-processor fails. yt-dlp used to skip the entire video on either error and there was no option to ignore the post-processing errors like youtube-dl does. By splitting the option into two, now either just the download errors (--no-abort-on-error, default on CLI) or all errors (--ignore-errors) can be ignored as per the users' needs Closes #893
2021-09-24Ignore empty entries in `_list_from_options_callback`pukkandan
2021-09-18[options] Fix `--no-config` and refactor reading of config filespukkandan
Closes #912, #914
2021-09-16Add option `--netrc-location`pukkandan
Closes #792, #963
2021-09-16[options] Strip spaces in list-like switchespukkandan
2021-09-12[cookies] Make browser names case insensitivepukkandan
2021-09-04[ModifyChapters] fixes (See desc)pukkandan
* [docs] Fix typo * Do not enable `sponskrub` by default * Fix `--force-keyframes-at-cuts` * Don't embed subtitles if the video has been cut. Previously, running `--remove-chapters` with `--embed-subs` multiple times caused repeated cuts and out-of-sync subtitles * Store `_real_duration` to prevent running ffprobe multiple times
2021-09-04Fix `--no-get-comments`pukkandan
Closes #882
2021-09-02Release 2021.09.022021.09.02pukkandan
2021-09-02Native SponsorBlock implementation and related improvements (#360)Nil Admirari
SponsorBlock options: * The fetched sponsor sections are written to infojson * `--sponsorblock-remove` removes specified chapters from file * `--sponsorblock-mark` marks the specified sponsor sections as chapters * `--sponsorblock-chapter-title` to specify sponsor chapter template * `--sponsorblock-api` to use a different API Related improvements: * Split `--embed-chapters` from `--embed-metadata` * Add `--remove-chapters` to remove arbitrary chapters * Add `--force-keyframes-at-cuts` for more accurate cuts when removing and splitting chapters Deprecates all `--sponskrub` options Authored by: nihil-admirari, pukkandan
2021-08-28[docs] Fix some typospukkandan
Closes #677, #774
2021-08-25Fix `--no-prefer-free-formats` (#787)CeruleanSky
Authored by: CeruleanSky
2021-08-24[youtube] Remove annotations and deprecate `--write-annotations` (#765)coletdjnz
Closes #692 Authored by: coletdjnz
2021-08-24[downloader/ffmpeg] Allow passing custom arguments before -ipukkandan
Closes #686
2021-08-23[extractor] Better error message for DRM (#729)pukkandan
Closes #636
2021-08-17Let `--match-filter` reject entries earlypukkandan
Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
2021-08-15[options] Add `_set_from_options_callback`pukkandan
2021-08-10Misc fixes - See descpukkandan
* Remove unnecessary uses of _list_from_options_callback * Fix download tests - Bug from 6e84b21559f586ee4d6affb61688d5c6a0c21221 * Rename ExecAfterDownloadPP to ExecPP and refactor its tests * Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
2021-08-10Add option `--replace-in-metadata`pukkandan
2021-08-07[docs] Fix some mistakes and improve docpukkandan
2021-08-07Allow multiple `--exec` and `--exec-before-download`pukkandan
2021-08-07Add option `--no-simulate` to not simulate even when `--print` or ↵pukkandan
`--list...` are used * Deprecates `--print-json` * Some listings like `--list-extractors` are handled by `yt_dlp` and so are not affected by this. These have been documented as such Addresses: https://github.com/ytdl-org/youtube-dl/issues/29675, https://github.com/ytdl-org/youtube-dl/issues/29580#issuecomment-882046305
2021-08-07[youtube] extractor-arg to show live dash formatspukkandan
If replay is enabled, these formats can be used to download the last 4 hours
2021-08-05Add regex to `--match-filter`pukkandan
This does not fully deprecate `--match-title`/`--reject-title` since `--match-filter` is only checked after the extraction is complete, while `--match-title` can often be checked from the flat playlist. Fixes: https://github.com/ytdl-org/youtube-dl/issues/9092, https://github.com/ytdl-org/youtube-dl/issues/23035
2021-08-05Add all format filtering operators also to `--match-filter`Max Teegen
PR: https://github.com/ytdl-org/youtube-dl/pull/27361 Authored by: max-te
2021-08-01[cleanup] Refactor some codepukkandan
2021-08-01Set `home:` as the default key for `-P`pukkandan
2021-08-01Add compat-option `no-clean-infojson`pukkandan
2021-07-29Add format types `j`, `l`, `q` for outtmplpukkandan
Closes #345
2021-07-22Add option `--cookies-from-browser` to load cookies from a browser (#488)Matt Broadway
* also adds `--no-cookies-from-browser` Original PR: https://github.com/ytdl-org/youtube-dl/pull/29201 Authored by: mbway
2021-07-20[youtube] Extract more thumbnailspukkandan
* The thumbnail URLs are hard-coded and their actual existence is tested lazily * Added option `--no-check-formats` to not test them Closes #340, Related: #402, #337, https://github.com/ytdl-org/youtube-dl/issues/29049
2021-07-19Add option `--exec-before-download`pukkandan
Closes #530
2021-07-08Improve `extractor_args` parsingpukkandan
2021-06-25Add `--extractor-args` to pass extractor-specific argumentspukkandan
2021-06-23Release 2021.06.232021.06.23pukkandan
2021-06-23Add option `--throttled-rate` below which video data is re-extractedpukkandan
Currently only for HTTP downloads Closes #430, workaround for https://github.com/ytdl-org/youtube-dl/issues/29326
2021-06-21[websockets] Add `WebSocketFragmentFD` (#399)pukkandan
Necessary for #392 Co-authored by: nao20010128nao, pukkandan
2021-06-20[options] Rename `--add-metadata` to `--embed-metadata`pukkandan
and clarify that it embeds chapter markers