aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [youtube] extractor-arg to show live dash formatspukkandan2021-08-071-1/+1
| | | | If replay is enabled, these formats can be used to download the last 4 hours
* Add regex to `--match-filter`pukkandan2021-08-051-7/+8
| | | | | | | | 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
* Add all format filtering operators also to `--match-filter`Max Teegen2021-08-051-16/+10
| | | | | | PR: https://github.com/ytdl-org/youtube-dl/pull/27361 Authored by: max-te
* [cleanup] Refactor some codepukkandan2021-08-011-11/+6
|
* Set `home:` as the default key for `-P`pukkandan2021-08-011-4/+6
|
* Add compat-option `no-clean-infojson`pukkandan2021-08-011-1/+1
|
* Add format types `j`, `l`, `q` for outtmplpukkandan2021-07-291-2/+2
| | | | Closes #345
* Add option `--cookies-from-browser` to load cookies from a browser (#488)Matt Broadway2021-07-221-2/+20
| | | | | | * also adds `--no-cookies-from-browser` Original PR: https://github.com/ytdl-org/youtube-dl/pull/29201 Authored by: mbway
* [youtube] Extract more thumbnailspukkandan2021-07-201-2/+6
| | | | | | | * 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
* Add option `--exec-before-download`pukkandan2021-07-191-0/+4
| | | | Closes #530
* Improve `extractor_args` parsingpukkandan2021-07-081-3/+8
|
* Add `--extractor-args` to pass extractor-specific argumentspukkandan2021-06-251-5/+18
|
* Release 2021.06.23pukkandan2021-06-231-1/+1
|
* Add option `--throttled-rate` below which video data is re-extractedpukkandan2021-06-231-0/+4
| | | | | | Currently only for HTTP downloads Closes #430, workaround for https://github.com/ytdl-org/youtube-dl/issues/29326
* [websockets] Add `WebSocketFragmentFD` (#399)pukkandan2021-06-211-1/+1
| | | | | | Necessary for #392 Co-authored by: nao20010128nao, pukkandan
* [options] Rename `--add-metadata` to `--embed-metadata`pukkandan2021-06-201-4/+4
| | | | and clarify that it embeds chapter markers
* Skip fixup of existing files and add `--fixup force` to force itpukkandan2021-06-201-2/+3
|
* [cleanup] Refactor fixuppukkandan2021-06-201-0/+1
|
* [EmbedThumbnail] Fix for already downloaded thumbnailpukkandan2021-06-111-1/+1
|
* Release 2021.06.08pukkandan2021-06-081-1/+1
|
* [cleanup] Refactor ffmpeg convertorspukkandan2021-05-221-9/+20
|
* [videoconvertor] Generalize with remuxer and allow conditional recodingpukkandan2021-05-221-1/+2
|
* [ThumbnailsConvertor] Support conversion to `png` and make it the default (#333)louie-github2021-05-211-1/+1
| | | | | | PNG, being a lossless format, should be a better default here compared to JPG since we won't be compressing to a lossy format and losing some of the original image data PNG is also supported for embedding in all the formats similar to JPEG Authored by: louie-github
* [options] Alias `--write-comments`, `--no-write-comments`pukkandan2021-05-201-3/+7
| | | | Closes: #264