Commit Graph

168 Commits (61544381781d35276e1e7831456c653107ac8909)

Author SHA1 Message Date
pukkandan 284a60c516
[options] Fix aliases to `--config-location`
crazymoose77756 962ffcf89c
[cleanup] Fix some typos ()
Authored by: crazymoose77756
pukkandan c800598cd1
[options] Fix `parse_known_args` for `--`
Closes 
pukkandan ac66811112
[compat] Remove more functions
Removing any more will require changes to a large number of extractors
pukkandan 44a6fcff39
Improve error handling of bad config files
Related: 
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 d32f30ac48
Add `--no-update`
Closes 
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 8a82af3511
[cleanup] Misc fixes and cleanup
Closes , Closes , Closes 
pukkandan 6b9e832db7
`--config-location -` to provide options interactively
pukkandan 2dd5a2e3a1
[doc, cleanup] Re-indent "Usage and Options" section
pukkandan 23326151c4
Add option --retry-sleep ()
Closes 
pukkandan 9e49146352
Add option `--alias`
pukkandan 490110c543
`--max-downloads` should obey `--break-per-input`
pukkandan 3d38b2d6d0
Fix `--date today`
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 3fe75fdc80
[cleanup] Misc fixes (see desc)
* Do not warn when fixup is skipped for existing file
* [fragment] Fix `--skip-unavailable-fragments` for HTTP Errors
* [utils] write_string: Fix bug in 59f943cd50
* [utils] parse_codecs: Subtitle codec is generally referred to as `scodec`. https://github.com/yt-dlp/yt-dlp/pull/2174#discussion_r790156048
* [docs] Remove note about permissions. Closes 
pukkandan 6f7563beb7
[XAttrMetadata] Refactor and document dependencies
pukkandan 0a41f331cc
[doc] Minor improvements
Closes , Closes 
pukkandan 492272fed6
`--match-filter -` to interactively ask for each video
pukkandan 62f6f1cbf2
Don't imply `-s` for later stages of `-O`
pukkandan 19a0394044
[cleanup] Misc cleanup and refactor ()
pukkandan f82711587c
[cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
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
pukkandan f9934b9614
[cleanup] Mark some compat variables for removal ()
Authored by fstirlitz, pukkandan
pukkandan ebc7d3ff1f
[docs] Minor improvements (, )
Authored by: cffswb, danielyli


Co-authored-by: Daniel Li <dan@danielyli.com>
Co-authored-by: cffswb <karte577@gmail.com>
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)
pukkandan 5c3895fff1
[outtmpl] Limit changes during sanitization
Closes 
pukkandan b1a7cd056a
Treat multiple `--match-filters` as OR
Closes 
pukkandan ae6a1b9585
[docs] Minor improvements
Closes , Closes , Closes 
coletdev d5820461e8
Use certificates from `certifi` if installed ()
Fixes  and most `CERTIFICATE_VERIFY_FAILED` issues

Authored by: coletdjnz
coletdev e248be3319
[panopto] Add extractors ()
Based on https://github.com/ytdl-org/youtube-dl/pull/13449
Closes 
Authored by: coletdjnz, kmark
pukkandan d1b5f70bc9
[cleanup] Refactor `__init__.py` ()
* Split `__init__` code into multiple functions
* Clean up validation code by grouping similar types of options
* Expose `parse_options` to third parties
pukkandan 8b7539d27c
Implement `--add-header` without modifying `std_headers`
Closes , 
Emanuel Hoogeveen 45806d44a7
[downloader] Obey `--file-access-retries` when deleting/renaming ()
Authored by: ehoogeveen-medweb
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
pukkandan 3856407a86
[options] Rename `--clean-infojson` to `--clean-info-json`
pukkandan db2e129ca0
[options] Better ambiguous option resolution
Eg: `--write-auto` no longer results in
> ambiguous option: --write-auto (--write-auto-subs, --write-automatic-subs?)
pukkandan 455a15e2dc
[cleanup,docs] Minor fixes
Closes , 
pukkandan 88f23a18e0
[docs,cleanup] Fix linter and misc cleanup
Closes 
pukkandan bb66c24797
Add option `--print-to-file`
Closes 
pukkandan fc5fa964c7
[docs] Improvements
xtkoba f81c62a6a4
Add option --legacy-server-connect ()
to allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation

Authored by: xtkoba
pukkandan 3b603dbdf1
Add option `--concat-playlist`
Closes , related: 
pukkandan ed8d87f911
[cleanup, docs] Minor fixes
Closes