aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/options.py
AgeCommit message (Collapse)Author
2021-12-30Allow escaped `,` in `--extractor-args`pukkandan
Closes #2152
2021-12-27[docs] Add examples for using `TYPES:` in `-P`/`-o`pukkandan
2021-12-27[cookies] Support other keyrings (#2032)Matt Broadway
Authored by: mbway
2021-12-23Add option `--file-access-retries` (#2066)Emanuel Hoogeveen
Closes #517 Authored by: ehoogeveen-medweb
2021-12-23[cleanup] Misc cleanuppukkandan
Closes #1942 #1976 #2020 #2058 #1984
2021-12-20[dash,youtube] Download live from start to end (#888)The Hatsune Daishi
* Add option `--live-from-start` to enable downloading live videos from start * Add key `is_from_start` in formats to identify formats (of live videos) that downloads from start * [dash] Create protocol `http_dash_segments_generator` that allows a function to be passed instead of fragments * [fragment] Allow multiple live dash formats to download simultaneously * [youtube] Implement fragment re-fetching for the live dash formats * [youtube] Re-extract dash manifest every 5 hours (manifest expires in 6hrs) * [postprocessor/ffmpeg] Add `FFmpegFixupDuplicateMoovPP` to fixup duplicated moov atoms Known issue: Ctrl+C doesn't work on Windows when downloading multiple formats Closes #1521 Authored by: nao20010128nao, pukkandan
2021-12-19[cleanup] Fix some typos (#2033)Unit 193
Authored by: unit193
2021-12-19[docs] Change all examples to use double quotespukkandan
to be platform-agnostic
2021-12-09[SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari
Authored by: nihil-admirari, pukkandan
2021-12-06Allow `--no-write-thumbnail` to override `--write-all-thumbnail`pukkandan
Closes #1900
2021-12-01Ensure same config file is not loaded multiple timespukkandan
2021-11-29[cleanup] Misc cleanuppukkandan
Closes #1805, closes #1800
2021-11-29Option `--wait-for-video` to wait for scheduled streamspukkandan
2021-11-29Option `--break-per-input` to apply --break-on... to each input URLpukkandan
2021-11-15Add option `--embed-info-json` to embed info-json in mkvpukkandan
Closes #1644
2021-11-15Add compat-option embed-metadatapukkandan
2021-11-11Fix bug in parsing `--add-header`pukkandan
Closes #1614
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