aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/options.py
AgeCommit message (Collapse)Author
2021-08-01[cleanup] Refactor some codepukkandan
2021-08-01Set `home:` as the default key for `-P`pukkandan
2021-08-01Add compat-option `no-clean-infojson`pukkandan
2021-07-29Add format types `j`, `l`, `q` for outtmplpukkandan
Closes #345
2021-07-22Add option `--cookies-from-browser` to load cookies from a browser (#488)Matt Broadway
* also adds `--no-cookies-from-browser` Original PR: https://github.com/ytdl-org/youtube-dl/pull/29201 Authored by: mbway
2021-07-20[youtube] Extract more thumbnailspukkandan
* 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
2021-07-19Add option `--exec-before-download`pukkandan
Closes #530
2021-07-08Improve `extractor_args` parsingpukkandan
2021-06-25Add `--extractor-args` to pass extractor-specific argumentspukkandan
2021-06-23Release 2021.06.232021.06.23pukkandan
2021-06-23Add option `--throttled-rate` below which video data is re-extractedpukkandan
Currently only for HTTP downloads Closes #430, workaround for https://github.com/ytdl-org/youtube-dl/issues/29326
2021-06-21[websockets] Add `WebSocketFragmentFD` (#399)pukkandan
Necessary for #392 Co-authored by: nao20010128nao, pukkandan
2021-06-20[options] Rename `--add-metadata` to `--embed-metadata`pukkandan
and clarify that it embeds chapter markers
2021-06-20Skip fixup of existing files and add `--fixup force` to force itpukkandan
2021-06-20[cleanup] Refactor fixuppukkandan
2021-06-11[EmbedThumbnail] Fix for already downloaded thumbnailpukkandan
2021-06-08Release 2021.06.082021.06.08pukkandan
2021-05-22[cleanup] Refactor ffmpeg convertorspukkandan
2021-05-22[videoconvertor] Generalize with remuxer and allow conditional recodingpukkandan
2021-05-21[ThumbnailsConvertor] Support conversion to `png` and make it the default (#333)louie-github
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
2021-05-20[options] Alias `--write-comments`, `--no-write-comments`pukkandan
Closes: #264
2021-05-14[compat] Fix py2pukkandan
2021-05-14Add option `--print`pukkandan
Deprecates: `--get-description`, `--get-duration`, `--get-filename`, `--get-format`, `--get-id`, `--get-thumbnail`, `--get-title`, `--get-url` Closes #295
2021-05-14[options] Refactor callbackspukkandan
2021-05-11Option `--compat-options` to revert some of yt-dlp's changespukkandan
* Deprecates `--list-formats-as-table`, `--list-formats-old`
2021-05-09Remove `-l`, `-t`, `-A` completely and disable `--auto-number`, `--title`, ↵pukkandan
`--literal`, `--id`
2021-05-06Add experimental option `--check-formats` to test the URLs before format ↵pukkandan
selection
2021-05-02Do not strip out whitespaces in `-o` and `-P`pukkandan
Related: https://github.com/yt-dlp/yt-dlp/issues/276#issuecomment-827361652
2021-04-22[documentation] Fix typospukkandan
2021-04-22Improve output template (see desc)pukkandan
* Objects can be traversed like `%(field.key1.key2)s` * A number can be added to the field as `%(field+n)s` * Deprecates `--autonumber-start`
2021-04-22Add option `--skip-playlist-after-errors`pukkandan
Allows to skip the rest of a playlist after a given number of errors are encountered
2021-04-20Improve --sub-langs (see desc)pukkandan
* 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
2021-04-17Add option `--ignore-no-formats-error`pukkandan
* Ignores the "no video format" and similar errors * Experimental - Some extractors may still throw these errors
2021-04-12[documentation] Improvementspukkandan
2021-04-12Add option `--convert-thumbnails`pukkandan
Closes: https://github.com/yt-dlp/yt-dlp/issues/99 https://github.com/yt-dlp/yt-dlp/issues/102
2021-04-11Pass any field to `--exec` using similar syntax to output templatepukkandan
Related: https://github.com/ytdl-org/youtube-dl/issues/28642
2021-04-10Deprecate more optionspukkandan
* `--all-formats` = `-f all` * `--include-ads` is not implemented
2021-04-10Option to choose different downloader for different protocolspukkandan
* 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`
2021-04-10Improve argument parsing for `-P`, `-o`, `-S`pukkandan
* `-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.
2021-04-03[documentation] Improve `--parse-metadata` documentationpukkandan
2021-04-01Fix some typos and linterpukkandan
2021-03-25Parse metadata from multiple fieldspukkandan
Closes #196
2021-03-20[documentation] Add `SplitChapters` to `--ppa`pukkandan
2021-03-18[documentation] Add deprecated options and aliases in readmepukkandan
2021-03-18Option to keep private keys in the infojsonpukkandan
Options: --clean-infojson, --no-clean-infojson Related: https://github.com/yt-dlp/yt-dlp/issues/42#issuecomment-800778391
2021-03-15Release 2021.03.152021.03.15pukkandan
2021-03-15Split video by chapters (#158)pukkandan
* 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
2021-03-13Native concurrent downloading of fragments (#166)shirt
* 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
2021-03-07Remove "fixup is ignored" warning when fixup wasn't passed by userpukkandan
Closes #151
2021-03-03Reduce default of `--extractor-retries` to 3pukkandan
so that even those not using sleep won't get 429'd on youtube