aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
Commit message (Collapse)AuthorAgeFilesLines
* [docs] Add examples for using `TYPES:` in `-P`/`-o`pukkandan2021-12-271-1/+1
|
* [cookies] Support other keyrings (#2032)Matt Broadway2021-12-271-8/+9
| | | Authored by: mbway
* Add option `--file-access-retries` (#2066)Emanuel Hoogeveen2021-12-231-0/+4
| | | | Closes #517 Authored by: ehoogeveen-medweb
* [cleanup] Misc cleanuppukkandan2021-12-231-1/+1
| | | | Closes #1942 #1976 #2020 #2058 #1984
* [dash,youtube] Download live from start to end (#888)The Hatsune Daishi2021-12-201-0/+8
| | | | | | | | | | | | | | | * 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
* [cleanup] Fix some typos (#2033)Unit 1932021-12-191-2/+2
| | | Authored by: unit193
* [docs] Change all examples to use double quotespukkandan2021-12-191-2/+3
| | | | to be platform-agnostic
* [SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari2021-12-091-8/+17
| | | Authored by: nihil-admirari, pukkandan
* Allow `--no-write-thumbnail` to override `--write-all-thumbnail`pukkandan2021-12-061-2/+5
| | | | Closes #1900
* Ensure same config file is not loaded multiple timespukkandan2021-12-011-0/+3
|
* [cleanup] Misc cleanuppukkandan2021-11-291-10/+10
| | | | Closes #1805, closes #1800
* Option `--wait-for-video` to wait for scheduled streamspukkandan2021-11-291-0/+10
|
* Option `--break-per-input` to apply --break-on... to each input URLpukkandan2021-11-291-0/+8
|
* Add option `--embed-info-json` to embed info-json in mkvpukkandan2021-11-151-1/+11
| | | | Closes #1644
* Add compat-option embed-metadatapukkandan2021-11-151-1/+1
|
* Fix bug in parsing `--add-header`pukkandan2021-11-111-6/+6
| | | | Closes #1614
* [cleanup] Minor cleanuppukkandan2021-11-041-1/+1
|
* [ExtractAudio] Rescale --audio-quality correctlypukkandan2021-11-041-1/+1
| | | | Authored by: CrypticSignal, pukkandan
* [docs,cleanup] Improve docs and minor cleanuppukkandan2021-10-311-6/+6
| | | | Closes #1387, #1404, #1408, #1485, #1415, #1450, #1492
* Separate `--check-all-formats` from `--check-formats`pukkandan2021-10-241-3/+7
| | | | Previously, `--check-formats` tested only the selected video formats, but ALL thumbnails
* Re-implement deprecated option `--id`pukkandan2021-10-221-0/+3
| | | | | Despite `--title`, `--literal` etc being deprecated, `--id` is still documented in youtube-dl and so should be kept
* Add option `--no-batch-file` (#1335)Zirro2021-10-191-0/+4
| | | Authored by: Zirro
* [ModifyChapters] Allow removing sections by timestamppukkandan2021-10-181-1/+5
| | | | | Eg: --remove-chapters "*10:15-15:00". The `*` prefix is used so as to avoid any conflicts with other valid regex
* Fix verbose head not showing custom configspukkandan2021-10-121-1/+1
|
* [cleanup] Misc cleanuppukkandan2021-10-091-16/+1
|
* Improved progress reporting (See desc) (#1125)pukkandan2021-10-091-1/+19
| | | | | | | | | | | * 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
* [docs,cleanup] Some minor refactoring and improve docspukkandan2021-09-301-2/+2
|
* [postprocessor] Add plugin supportpukkandan2021-09-301-0/+20
| | | | Adds option `--use-postprocessor` to enable them
* Separate the options `--ignore-errors` and `--no-abort-on-error`pukkandan2021-09-241-3/+7
| | | | | | | | | | | | | | 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
* Ignore empty entries in `_list_from_options_callback`pukkandan2021-09-241-1/+1
|
* [options] Fix `--no-config` and refactor reading of config filespukkandan2021-09-181-45/+34
| | | | Closes #912, #914
* Add option `--netrc-location`pukkandan2021-09-161-0/+4
| | | | Closes #792, #963
* [options] Strip spaces in list-like switchespukkandan2021-09-161-7/+6
|
* [cookies] Make browser names case insensitivepukkandan2021-09-121-1/+1
|
* [ModifyChapters] fixes (See desc)pukkandan2021-09-041-2/+2
| | | | | | | | * [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
* Fix `--no-get-comments`pukkandan2021-09-041-1/+1
| | | | Closes #882
* Release 2021.09.02pukkandan2021-09-021-2/+2
|
* Native SponsorBlock implementation and related improvements (#360)Nil Admirari2021-09-021-27/+86
| | | | | | | | | | | | | | | | | 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
* [docs] Fix some typospukkandan2021-08-281-1/+1
| | | | Closes #677, #774
* Fix `--no-prefer-free-formats` (#787)CeruleanSky2021-08-251-1/+1
| | | Authored by: CeruleanSky
* [youtube] Remove annotations and deprecate `--write-annotations` (#765)coletdjnz2021-08-241-2/+2
| | | | Closes #692 Authored by: coletdjnz
* [downloader/ffmpeg] Allow passing custom arguments before -ipukkandan2021-08-241-1/+2
| | | | Closes #686
* [extractor] Better error message for DRM (#729)pukkandan2021-08-231-4/+2
| | | Closes #636
* Let `--match-filter` reject entries earlypukkandan2021-08-171-4/+4
| | | | Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
* [options] Add `_set_from_options_callback`pukkandan2021-08-151-4/+39
|
* Misc fixes - See descpukkandan2021-08-101-8/+5
| | | | | | | * 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
* Add option `--replace-in-metadata`pukkandan2021-08-101-1/+5
|
* [docs] Fix some mistakes and improve docpukkandan2021-08-071-10/+4
|
* Allow multiple `--exec` and `--exec-before-download`pukkandan2021-08-071-6/+20
|
* Add option `--no-simulate` to not simulate even when `--print` or ↵pukkandan2021-08-071-13/+17
| | | | | | | | | `--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