aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* Parse metadata from multiple fieldspukkandan2021-03-251-3/+8
| | | | Closes #196
* [documentation] Add `SplitChapters` to `--ppa`pukkandan2021-03-201-1/+1
|
* [documentation] Add deprecated options and aliases in readmepukkandan2021-03-181-18/+12
|
* Option to keep private keys in the infojsonpukkandan2021-03-181-0/+10
| | | | | | Options: --clean-infojson, --no-clean-infojson Related: https://github.com/yt-dlp/yt-dlp/issues/42#issuecomment-800778391
* Release 2021.03.15pukkandan2021-03-151-6/+5
|
* Split video by chapters (#158)pukkandan2021-03-151-0/+11
| | | | | | | | | | | | | | | | | | | | * New options `--split-chapters` and `--no-split-chapters` * The output/path of the split files can be given using the key `chapter` * Additional keys `section_title`, `section_number`, `section_start`, `section_end` are available in the output template * Alias `--split-tracks` for parity with animelover/youtube-dl * `--sponskrub-cut` and `--split-chapter` cannot work together Closes: https://github.com/blackjack4494/yt-dlc/issues/277 https://github.com/ytdl-org/youtube-dl/issues/28438 https://github.com/ytdl-org/youtube-dl/issues/12907 https://github.com/ytdl-org/youtube-dl/issues/6480 https://github.com/ytdl-org/youtube-dl/pull/25005 Rewritten from the implementation by: femaref and Wattux https://github.com/Wattux/youtube-dl/tree/split-at-timestamps https://github.com/ytdl-org/youtube-dl/pull/25005 https://github.com/femaref/youtube-dl/tree/split-track
* Native concurrent downloading of fragments (#166)shirt2021-03-131-0/+4
| | | | | | | | | | | * Option `--concurrent-fragments` (`-N`) to set the number of threads Related: #165 Known issues: * When receiving Ctrl+C, the process will exit only after finishing the currently downloading fragments * The download progress shows the speed of only one thread Authored by shirt-dev
* Remove "fixup is ignored" warning when fixup wasn't passed by userpukkandan2021-03-071-1/+1
| | | | Closes #151
* Reduce default of `--extractor-retries` to 3pukkandan2021-03-031-1/+1
| | | | so that even those not using sleep won't get 429'd on youtube