pukkandan
b19404591a
Separate the options `--ignore-errors` and `--no-abort-on-error`
...
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
3 years ago
pukkandan
1f8471e22c
Ignore empty entries in `_list_from_options_callback`
3 years ago
pukkandan
7303f84abe
[options] Fix `--no-config` and refactor reading of config files
...
Closes #912 , #914
3 years ago
pukkandan
0001fcb586
Add option `--netrc-location`
...
Closes #792 , #963
3 years ago
pukkandan
d21bba7853
[options] Strip spaces in list-like switches
3 years ago
pukkandan
ca46b94134
[cookies] Make browser names case insensitive
3 years ago
pukkandan
165efb823b
[ModifyChapters] fixes (See desc)
...
* [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
3 years ago
pukkandan
dd594deb2a
Fix `--no-get-comments`
...
Closes #882
3 years ago
pukkandan
9ee4f0bb5b
Release 2021.09.02
3 years ago
Nil Admirari
7a340e0df3
Native SponsorBlock implementation and related improvements ( #360 )
...
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
3 years ago
pukkandan
2e7781a93c
[docs] Fix some typos
...
Closes #677 , #774
3 years ago
CeruleanSky
1c36c1f320
Fix `--no-prefer-free-formats` ( #787 )
...
Authored by: CeruleanSky
3 years ago
coletdjnz
0bb1bc1b10
[youtube] Remove annotations and deprecate `--write-annotations` ( #765 )
...
Closes #692
Authored by: coletdjnz
3 years ago
pukkandan
330690a214
[downloader/ffmpeg] Allow passing custom arguments before -i
...
Closes #686
3 years ago
pukkandan
88acdbc269
[extractor] Better error message for DRM ( #729 )
...
Closes #636
3 years ago
pukkandan
8f18aca871
Let `--match-filter` reject entries early
...
Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
3 years ago
pukkandan
31654882e9
[options] Add `_set_from_options_callback`
3 years ago
pukkandan
ad3dc496bb
Misc fixes - See desc
...
* Remove unnecessary uses of _list_from_options_callback
* Fix download tests - Bug from 6e84b21559
* Rename ExecAfterDownloadPP to ExecPP and refactor its tests
* Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
3 years ago
pukkandan
e9f4ccd19e
Add option `--replace-in-metadata`
3 years ago
pukkandan
3448870205
[docs] Fix some mistakes and improve doc
3 years ago
pukkandan
c681cb5d93
Allow multiple `--exec` and `--exec-before-download`
3 years ago
pukkandan
b7b04c782e
Add option `--no-simulate` to not simulate even when `--print` or `--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
3 years ago
pukkandan
57015a4a3f
[youtube] extractor-arg to show live dash formats
...
If replay is enabled, these formats can be used to download the last 4 hours
3 years ago
pukkandan
a047eeb6d2
Add regex to `--match-filter`
...
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
3 years ago
Max Teegen
77b87f0519
Add all format filtering operators also to `--match-filter`
...
PR: https://github.com/ytdl-org/youtube-dl/pull/27361
Authored by: max-te
3 years ago
pukkandan
dbf5416a20
[cleanup] Refactor some code
3 years ago
pukkandan
d74a58a186
Set `home:` as the default key for `-P`
3 years ago
pukkandan
e4f0275711
Add compat-option `no-clean-infojson`
3 years ago
pukkandan
7d1eb38af1
Add format types `j`, `l`, `q` for outtmpl
...
Closes #345
3 years ago
Matt Broadway
982ee69a74
Add option `--cookies-from-browser` to load cookies from a browser ( #488 )
...
* also adds `--no-cookies-from-browser`
Original PR: https://github.com/ytdl-org/youtube-dl/pull/29201
Authored by: mbway
3 years ago
pukkandan
0ba692acc8
[youtube] Extract more thumbnails
...
* 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
3 years ago
pukkandan
5520aa2dc9
Add option `--exec-before-download`
...
Closes #530
3 years ago
pukkandan
4bb6b02f93
Improve `extractor_args` parsing
3 years ago
pukkandan
5d3a0e794b
Add `--extractor-args` to pass extractor-specific arguments
3 years ago
pukkandan
6aecd87106
Release 2021.06.23
3 years ago
pukkandan
51d9739f80
Add option `--throttled-rate` below which video data is re-extracted
...
Currently only for HTTP downloads
Closes #430 , workaround for https://github.com/ytdl-org/youtube-dl/issues/29326
3 years ago
pukkandan
e36d50c5dd
[websockets] Add `WebSocketFragmentFD` ( #399 )
...
Necessary for #392
Co-authored by: nao20010128nao, pukkandan
3 years ago
pukkandan
7e067091e8
[options] Rename `--add-metadata` to `--embed-metadata`
...
and clarify that it embeds chapter markers
3 years ago
pukkandan
f89b3e2d7a
Skip fixup of existing files and add `--fixup force` to force it
3 years ago
pukkandan
fd7cfb6444
[cleanup] Refactor fixup
3 years ago
pukkandan
8ba8714880
[EmbedThumbnail] Fix for already downloaded thumbnail
4 years ago
pukkandan
3b1fe47d84
Release 2021.06.08
4 years ago
pukkandan
81a23040eb
[cleanup] Refactor ffmpeg convertors
4 years ago
pukkandan
857f63136d
[videoconvertor] Generalize with remuxer and allow conditional recoding
4 years ago
louie-github
a927acb1ec
[ThumbnailsConvertor] Support conversion to `png` and make it the default ( #333 )
...
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
4 years ago
pukkandan
2305e2e5c9
[options] Alias `--write-comments`, `--no-write-comments`
...
Closes : #264
4 years ago
pukkandan
d2a1fad968
[compat] Fix py2
4 years ago
pukkandan
53c18592d3
Add option `--print`
...
Deprecates: `--get-description`, `--get-duration`, `--get-filename`, `--get-format`, `--get-id`, `--get-thumbnail`, `--get-title`, `--get-url`
Closes #295
4 years ago
pukkandan
e632bce2e4
[options] Refactor callbacks
4 years ago
pukkandan
53ed7066ab
Option `--compat-options` to revert some of yt-dlp's changes
...
* Deprecates `--list-formats-as-table`, `--list-formats-old`
4 years ago