Commit Graph

142 Commits (935bac1e4de35107a15ea2ad45402f507527dcfb)

Author SHA1 Message Date
pukkandan 935bac1e4d
Fix `--cookies-from-browser` CLI parsing
Closes 
pukkandan 71df9b7fd5
[cleanup] Misc
pukkandan d0d74b7197
[utils] Move format sorting code into `utils`
pukkandan 64c464a144
[utils] Move `FileDownloader.parse_bytes` into utils
pukkandan d5d1df8afd
[cleanup Misc
Closes 
pukkandan 2fa669f759
[docs] Misc improvements
Closes , Closes , Closes , Closes , Closes 
pukkandan 2b24afa6d7
Improve 5736d79172
pukkandan 5736d79172
Support environment variables in `--ffmpeg-location`
Closes 
Lesmiscore fc2ba496fd
Allow open ranges for time ranges ()
Authored by: Lesmiscore
pukkandan d2c8aadf79
[cleanup] Misc
Closes , Closes , Closes 
Authored by: pukkandan, MrRawes, DavidH-2022
bashonly 825d3ce386
[cookies] Improve container support ()
Closes 
Authored by: bashonly, pukkandan, coletdjnz
bashonly 9bd13fe5bb
[cookies] Support firefox container in `--cookies-from-browser` ()
Authored by: bashonly
pukkandan da4db748fa
[utils] Add `deprecation_warning`
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
pukkandan fe7866d0ed
Add option `--use-extractors`
Deprecates `--force-generic-extractor`

Closes , Closes 

Related: , 
Lauren N. Liberda fc61aff41b
Determine merge container better (See desc) ()
* Determine the container early. Closes 
* Use codecs instead of just file extensions
* Obey `--prefer-free-formats`
* Allow fallbacks in `--merge-output`

Authored by: pukkandan, selfisekai
pukkandan 0647d9251f
Minor bugfixes
pukkandan 4f04be6add
Validate `--merge-output-format`
Closes 
pukkandan 8dc5930511
[utils, cleanup] Consolidate known media extensions
pukkandan 6a7d3a0a09
[ffmpeg] Set `ffmpeg_location` in a contextvar
Fixes  for the CLI, but not when used through the API
pukkandan 6929b41a21
Remove Python 3.6 support
Closes 
pukkandan 134c913cca
Discard info_dict from memory if no longer needed
Closes 
pukkandan f2df407165
[cleanup] Misc cleanup
pukkandan 54007a45f1
[cleanup] Consistent style for file heads
pukkandan ac66811112
[compat] Remove more functions
Removing any more will require changes to a large number of extractors
pukkandan 28163422a6
Fix `--downloader native`
Bug in 7b2c3f47c6
pukkandan 8372be7469
[update] Self-restart after update
pukkandan 6d1b34896e
Update to ytdl-commit-8a158a9
[NHK] Use new API URL
6508688e88

Closes , Closes 
pukkandan 7b2c3f47c6
[cleanup] Misc
pukkandan 7e9a612585
Add option `--lazy-playlist` to process entries as they are received
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 , Closes 
pukkandan 560738f34d
[extractor] Import `_ALL_CLASSES` lazily
This significantly speeds up `import yt_dlp` in the absence of `lazy_extractors`
pukkandan 5ec1b6b716
Add option `--download-sections` to download video partially
Closes , Closes 
pukkandan e0ab98541c
[ExtractAudio] Allow conditional conversion
Closes 
pukkandan 35faefee5d
[ExtractAudio, cleanup] Refactor
pukkandan 00bbc5f177
[ThumbnailsConvertor] Allow conditional conversion
Closes 
pukkandan f95b9dee45
[extractor] Add dev option `--load-pages`
pukkandan 6b9e832db7
`--config-location -` to provide options interactively
pukkandan c4a62b99f6
Fix bug in 23326151c4
pukkandan c487cf0010
[cleanup] Misc
pukkandan e79969b242
Return an error code if update fails
Closes 
pukkandan 23326151c4
Add option --retry-sleep ()
Closes 
pukkandan 9e49146352
Add option `--alias`
pukkandan 21633673c3
[cleanup] Minor fixes
pukkandan 82d020804d
[extractor] Use classmethod/property where possible
and refactor lazy extractors accordingly.

This reduces the need to create extractor instances
pukkandan 8dcce6a89c
[extractor] Document netrc machines
Closes 
coletdev bb58c9ed5c
Add support for SSL client certificate authentication ()
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>
pukkandan 62f6f1cbf2
Don't imply `-s` for later stages of `-O`
pukkandan 19a0394044
[cleanup] Misc cleanup and refactor ()
pukkandan 3d3bb1688b
[docs] Improve embedding docs and other minor fixes
pukkandan f82711587c
[cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .