aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* [compat] Fix py2pukkandan2021-05-141-1/+1
|
* Add option `--print`pukkandan2021-05-141-8/+15
| | | | | Deprecates: `--get-description`, `--get-duration`, `--get-filename`, `--get-format`, `--get-id`, `--get-thumbnail`, `--get-title`, `--get-url` Closes #295
* [options] Refactor callbackspukkandan2021-05-141-14/+16
|
* Option `--compat-options` to revert some of yt-dlp's changespukkandan2021-05-111-6/+14
| | | | * Deprecates `--list-formats-as-table`, `--list-formats-old`
* Remove `-l`, `-t`, `-A` completely and disable `--auto-number`, `--title`, ↵pukkandan2021-05-091-3/+3
| | | | `--literal`, `--id`
* Add experimental option `--check-formats` to test the URLs before format ↵pukkandan2021-05-061-0/+4
| | | | selection
* Do not strip out whitespaces in `-o` and `-P`pukkandan2021-05-021-7/+12
| | | | Related: https://github.com/yt-dlp/yt-dlp/issues/276#issuecomment-827361652
* [documentation] Fix typospukkandan2021-04-221-4/+4
|
* Improve output template (see desc)pukkandan2021-04-221-1/+1
| | | | | | * Objects can be traversed like `%(field.key1.key2)s` * A number can be added to the field as `%(field+n)s` * Deprecates `--autonumber-start`
* Add option `--skip-playlist-after-errors`pukkandan2021-04-221-0/+4
| | | | Allows to skip the rest of a playlist after a given number of errors are encountered
* Improve --sub-langs (see desc)pukkandan2021-04-201-2/+5
| | | | | | | | * Treat `--sub-langs` entries as regex * `all` can be used to refer to all the subtitles * the language code can be prefixed with `-` to exclude it * Deprecates `--all-subs` Closes #253
* Add option `--ignore-no-formats-error`pukkandan2021-04-171-0/+10
| | | | | * Ignores the "no video format" and similar errors * Experimental - Some extractors may still throw these errors
* [documentation] Improvementspukkandan2021-04-121-10/+7
|
* Add option `--convert-thumbnails`pukkandan2021-04-121-4/+9
| | | | Closes: https://github.com/yt-dlp/yt-dlp/issues/99 https://github.com/yt-dlp/yt-dlp/issues/102
* Pass any field to `--exec` using similar syntax to output templatepukkandan2021-04-111-1/+5
| | | | Related: https://github.com/ytdl-org/youtube-dl/issues/28642
* Deprecate more optionspukkandan2021-04-101-3/+3
| | | | | * `--all-formats` = `-f all` * `--include-ads` is not implemented
* Option to choose different downloader for different protocolspukkandan2021-04-101-6/+15
| | | | | | | | | * Renamed `--external-downloader-args` to `--downloader-args` * Added `native` as an option for the downloader * Use similar syntax to `--downloader-args` etc. Eg: `--downloader dash:native --downloader aria2c` * Deprecated `--hls-prefer-native` and `--hls-prefer-ffmpeg` since the same can now be done with `--downloader "m3u8:native"` and `m3u8:ffmpeg` respectively * Split `frag_urls` protocol into `m3u8_frag_urls` and `dash_frag_urls` * Standardize shortening of protocol names with `downloader.shorten_protocol_name`
* Improve argument parsing for `-P`, `-o`, `-S`pukkandan2021-04-101-10/+22
| | | | | * `-P "subtitle,thumbnail:PATH"` is now possible. Similarly for `-o` * `-S "fps,br" -S "res,codec"` is now interpreted as `-S res,codec,fps,br`. Previously, `-S fps,br` was ignored in this case.
* [documentation] Improve `--parse-metadata` documentationpukkandan2021-04-031-16/+4
|
* Fix some typos and linterpukkandan2021-04-011-1/+1
|