pukkandan
4f04be6add
Validate `--merge-output-format`
...
Closes #4489
2 years ago
pukkandan
8dc5930511
[utils, cleanup] Consolidate known media extensions
2 years ago
pukkandan
6a7d3a0a09
[ffmpeg] Set `ffmpeg_location` in a contextvar
...
Fixes #2191 for the CLI, but not when used through the API
2 years ago
pukkandan
6929b41a21
Remove Python 3.6 support
...
Closes #3764
2 years ago
pukkandan
134c913cca
Discard info_dict from memory if no longer needed
...
Closes #1399
3 years ago
pukkandan
f2df407165
[cleanup] Misc cleanup
3 years ago
pukkandan
54007a45f1
[cleanup] Consistent style for file heads
3 years ago
pukkandan
ac66811112
[compat] Remove more functions
...
Removing any more will require changes to a large number of extractors
3 years ago
pukkandan
28163422a6
Fix `--downloader native`
...
Bug in 7b2c3f47c6
3 years ago
pukkandan
8372be7469
[update] Self-restart after update
3 years ago
pukkandan
6d1b34896e
Update to ytdl-commit-8a158a9
...
[NHK] Use new API URL
6508688e88
Closes #2337 , Closes #4063
3 years ago
pukkandan
7b2c3f47c6
[cleanup] Misc
3 years ago
pukkandan
7e9a612585
Add option `--lazy-playlist` to process entries as they are received
3 years ago
pukkandan
7e88d7d78f
Add slicing notation to `--playlist-items`
...
* Adds support for negative indices and step
* Add `-I` as alias for `--playlist-index`
* Deprecates `--playlist-start`, `--playlist-end`, `--playlist-reverse`, `--no-playlist-reverse`
Closes #2951 , Closes #2853
3 years ago
pukkandan
560738f34d
[extractor] Import `_ALL_CLASSES` lazily
...
This significantly speeds up `import yt_dlp` in the absence of `lazy_extractors`
3 years ago
pukkandan
5ec1b6b716
Add option `--download-sections` to download video partially
...
Closes #52 , Closes #3932
3 years ago
pukkandan
e0ab98541c
[ExtractAudio] Allow conditional conversion
...
Closes #1715
3 years ago
pukkandan
35faefee5d
[ExtractAudio, cleanup] Refactor
3 years ago
pukkandan
00bbc5f177
[ThumbnailsConvertor] Allow conditional conversion
...
Closes #3970
3 years ago
pukkandan
f95b9dee45
[extractor] Add dev option `--load-pages`
3 years ago
pukkandan
6b9e832db7
`--config-location -` to provide options interactively
3 years ago
pukkandan
c4a62b99f6
Fix bug in 23326151c4
3 years ago
pukkandan
c487cf0010
[cleanup] Misc
3 years ago
pukkandan
e79969b242
Return an error code if update fails
...
Closes #3802
3 years ago
pukkandan
23326151c4
Add option --retry-sleep ( #3059 )
...
Closes #2852
3 years ago
pukkandan
9e49146352
Add option `--alias`
3 years ago
pukkandan
21633673c3
[cleanup] Minor fixes
3 years ago
pukkandan
82d020804d
[extractor] Use classmethod/property where possible
...
and refactor lazy extractors accordingly.
This reduces the need to create extractor instances
3 years ago
pukkandan
8dcce6a89c
[extractor] Document netrc machines
...
Closes #3169
3 years ago
coletdev
bb58c9ed5c
Add support for SSL client certificate authentication ( #3435 )
...
Adds `--client-certificate`, `--client-certificate-key`, `--client-certificate-password`
Authored-by: coletdjnz
Co-authored-by: df <fieldhouse@gmx.net>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
3 years ago
pukkandan
62f6f1cbf2
Don't imply `-s` for later stages of `-O`
3 years ago
pukkandan
19a0394044
[cleanup] Misc cleanup and refactor ( #2173 )
3 years ago
pukkandan
3d3bb1688b
[docs] Improve embedding docs and other minor fixes
3 years ago
pukkandan
f82711587c
[cleanup] Sort imports
...
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
3 years ago
pukkandan
86e5f3ed2e
[cleanup] Upgrade syntax
...
Using https://github.com/asottile/pyupgrade
1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`
Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
3 years ago
felix
cfb0511d82
[cleanup] Remove unused code paths ( #2173 )
...
Notes:
* `_windows_write_string`: Fixed in 3.6
* https://bugs.python.org/issue1602
* PEP: https://www.python.org/dev/peps/pep-0528
* Windows UTF-8 fix: Fixed in 3.3
* https://bugs.python.org/issue13216
* `__loader__`: is always present in 3.3+
* https://bugs.python.org/issue14646
* `workaround_optparse_bug9161`: Fixed in 2.7
* https://bugs.python.org/issue9161
Authored by: fstirlitz
3 years ago
pukkandan
a44ca5a470
[cleanup] Misc fixes
...
Closes https://github.com/yt-dlp/yt-dlp/pull/3213 , Closes https://github.com/yt-dlp/yt-dlp/pull/3117
Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114 , https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671 , a825ffbffa (commitcomment-68538986)
, https://github.com/yt-dlp/yt-dlp/issues/2360 , 5fa3c9a88f (r70393519)
, 5fa3c9a88f (r70393254)
3 years ago
pukkandan
231025c463
Fix bug in 52efa4b312
...
Closes #3173
3 years ago
pukkandan
e880c92c65
Exit after `--dump-user-agent`
...
Bug in d1b5f70bc9
Closes #3055
3 years ago
pukkandan
da1d734fbe
Remove incorrect warning for `--dateafter`
...
Closes #3030
3 years ago
pukkandan
07ff290dce
Fix `--sleep-interval`
...
Bug in d1b5f70bc9
Closes #3012
3 years ago
pukkandan
51c22ef4e2
Fix `--throttled-rate`
...
Typo in d1b5f70bc9
Closes #2996
3 years ago
pukkandan
d1b5f70bc9
[cleanup] Refactor `__init__.py` ( #2570 )
...
* Split `__init__` code into multiple functions
* Clean up validation code by grouping similar types of options
* Expose `parse_options` to third parties
3 years ago
pukkandan
8b7539d27c
Implement `--add-header` without modifying `std_headers`
...
Closes #2526 , #1614
3 years ago
pukkandan
09b49e1f68
Add pre-processor stage `after_filter`
...
* Move `_match_entry` and `post_extract` to `process_video_result`. It is also left in `process_info` for API compat
* `--list-...` options and `--force-write-archive` now obey filtering options
* Move `SponsorBlockPP` to `after_filter`. Closes https://github.com/yt-dlp/yt-dlp/issues/2536
* Reverts 4ec82a72bb
since this commit addresses the issue it was solving
3 years ago
pukkandan
dbcea0585f
[outtmpl] Handle `-o ""` better
...
Since the specific type of file is not downloaded when giving `-o "<type>:"`,
now `-o ""` acts as an alias to `--skip-download`
3 years ago
pukkandan
bb66c24797
Add option `--print-to-file`
...
Closes #2372
3 years ago
xtkoba
f81c62a6a4
Add option --legacy-server-connect ( #778 )
...
to allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation
Authored by: xtkoba
3 years ago
pukkandan
3b603dbdf1
Add option `--concat-playlist`
...
Closes #1855 , related: #382
3 years ago
pukkandan
1e43a6f733
Allow `--exec` to be run at any post-processing stage
...
Deprecates `--exec-before-download`
3 years ago