aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [cleanup] Fix some typos (#4194)crazymoose777562022-06-261-3/+3
| | | Authored by: crazymoose77756
* [options] Fix `parse_known_args` for `--`pukkandan2022-06-251-1/+12
| | | | Closes #4167
* [compat] Remove more functionspukkandan2022-06-251-4/+5
| | | | Removing any more will require changes to a large number of extractors
* Improve error handling of bad config filespukkandan2022-06-181-6/+10
| | | | Related: #824
* Add option `--lazy-playlist` to process entries as they are receivedpukkandan2022-06-171-2/+10
|
* Add slicing notation to `--playlist-items`pukkandan2022-06-171-6/+10
| | | | | | | | * 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
* Add `--no-update`pukkandan2022-06-131-0/+4
| | | | Closes #4060
* Add option `--download-sections` to download video partiallypukkandan2022-06-071-6/+11
| | | | Closes #52, Closes #3932
* [ExtractAudio] Allow conditional conversionpukkandan2022-06-061-1/+2
| | | | Closes #1715
* [ExtractAudio, cleanup] Refactorpukkandan2022-06-061-7/+9
|
* [ThumbnailsConvertor] Allow conditional conversionpukkandan2022-06-051-1/+2
| | | | Closes #3970
* [extractor] Add dev option `--load-pages`pukkandan2022-06-011-0/+4
|
* [cleanup] Misc fixes and cleanuppukkandan2022-05-271-2/+2
| | | | Closes #3780, Closes #3853, Closes #3850
* `--config-location -` to provide options interactivelypukkandan2022-05-271-2/+2
|
* [doc, cleanup] Re-indent "Usage and Options" sectionpukkandan2022-05-191-34/+32
|
* Add option --retry-sleep (#3059)pukkandan2022-05-191-0/+12
| | | | Closes #2852
* Add option `--alias`pukkandan2022-05-191-23/+112
|
* `--max-downloads` should obey `--break-per-input`pukkandan2022-05-171-2/+2
|
* Fix `--date today`pukkandan2022-05-111-3/+2
| | | | Closes #3704
* Add support for SSL client certificate authentication (#3435)coletdev2022-05-021-0/+13
| | | | | | | 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>
* [cleanup] Misc fixes (see desc)pukkandan2022-05-011-1/+1
| | | | | | | | * Do not warn when fixup is skipped for existing file * [fragment] Fix `--skip-unavailable-fragments` for HTTP Errors * [utils] write_string: Fix bug in 59f943cd5097e9bdbc3cb3e6b5675e43d369341a * [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 #3597
* [XAttrMetadata] Refactor and document dependenciespukkandan2022-05-011-1/+1
|
* [doc] Minor improvementspukkandan2022-04-291-2/+2
| | | | Closes #3518, Closes #3560
* `--match-filter -` to interactively ask for each videopukkandan2022-04-281-1/+2
|
* Don't imply `-s` for later stages of `-O`pukkandan2022-04-201-1/+2
|
* [cleanup] Misc cleanup and refactor (#2173)pukkandan2022-04-181-35/+37
|
* [cleanup] Sort importspukkandan2022-04-121-17/+12
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-6/+4
| | | | | | | | | | 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
* [cleanup] Mark some compat variables for removal (#2173)pukkandan2022-04-121-12/+9
| | | | Authored by fstirlitz, pukkandan
* [docs] Minor improvements (#3309, #3343)pukkandan2022-04-081-1/+1
| | | | | | | | Authored by: cffswb, danielyli Co-authored-by: Daniel Li <dan@danielyli.com> Co-authored-by: cffswb <karte577@gmail.com>
* [cleanup] Misc fixespukkandan2022-04-051-6/+8
| | | | | | 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, https://github.com/yt-dlp/yt-dlp/commit/a825ffbffa0bea322e3ccb44c6f8e01d8d9572fb#commitcomment-68538986, https://github.com/yt-dlp/yt-dlp/issues/2360, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393519, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393254
* [outtmpl] Limit changes during sanitizationpukkandan2022-03-271-1/+1
| | | | Closes #2761
* Treat multiple `--match-filters` as ORpukkandan2022-03-251-10/+9
| | | | Closes #3144
* [docs] Minor improvementspukkandan2022-03-241-1/+1
| | | | Closes #3127, Closes #3081, Closes #3177
* Use certificates from `certifi` if installed (#3115)coletdev2022-03-221-1/+1
| | | | | Fixes #3102 and most `CERTIFICATE_VERIFY_FAILED` issues Authored by: coletdjnz
* [panopto] Add extractors (#2908)coletdev2022-03-081-1/+1
| | | | | Based on https://github.com/ytdl-org/youtube-dl/pull/13449 Closes #1946 Authored by: coletdjnz, kmark
* [cleanup] Refactor `__init__.py` (#2570)pukkandan2022-03-081-1/+1
| | | | | * Split `__init__` code into multiple functions * Clean up validation code by grouping similar types of options * Expose `parse_options` to third parties
* Implement `--add-header` without modifying `std_headers`pukkandan2022-03-041-4/+3
| | | | Closes #2526, #1614
* [downloader] Obey `--file-access-retries` when deleting/renaming (#2224)Emanuel Hoogeveen2022-03-031-1/+1
| | | Authored by: ehoogeveen-medweb
* Add pre-processor stage `after_filter`pukkandan2022-02-231-4/+4
| | | | | | | * 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 4ec82a72bbf7ff0066edb50dcad20aa77ac2fe09 since this commit addresses the issue it was solving
* [options] Rename `--clean-infojson` to `--clean-info-json`pukkandan2022-02-111-2/+2
|
* [options] Better ambiguous option resolutionpukkandan2022-02-111-1/+14
| | | | | Eg: `--write-auto` no longer results in > ambiguous option: --write-auto (--write-auto-subs, --write-automatic-subs?)
* [cleanup,docs] Minor fixespukkandan2022-02-031-2/+2
| | | | Closes #2541, #2484
* [docs,cleanup] Fix linter and misc cleanuppukkandan2022-01-241-1/+1
| | | | Closes #2419
* Add option `--print-to-file`pukkandan2022-01-241-1/+18
| | | | Closes #2372
* [docs] Improvementspukkandan2022-01-211-3/+3
|
* Add option --legacy-server-connect (#778)xtkoba2022-01-211-0/+4
| | | | | to allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation Authored by: xtkoba
* Add option `--concat-playlist`pukkandan2022-01-131-0/+10
| | | | Closes #1855, related: #382
* [cleanup, docs] Minor fixespukkandan2022-01-121-1/+2
| | | | Closes #2230
* Allow `--print` to be run at any post-processing stagepukkandan2022-01-111-3/+3
|