aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/options.py
AgeCommit message (Collapse)Author
2022-04-29[doc] Minor improvementspukkandan
Closes #3518, Closes #3560
2022-04-28`--match-filter -` to interactively ask for each videopukkandan
2022-04-20Don't imply `-s` for later stages of `-O`pukkandan
2022-04-18[cleanup] Misc cleanup and refactor (#2173)pukkandan
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
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
2022-04-12[cleanup] Mark some compat variables for removal (#2173)pukkandan
Authored by fstirlitz, pukkandan
2022-04-08[docs] Minor improvements (#3309, #3343)pukkandan
Authored by: cffswb, danielyli Co-authored-by: Daniel Li <dan@danielyli.com> Co-authored-by: cffswb <karte577@gmail.com>
2022-04-05[cleanup] Misc fixespukkandan
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
2022-03-27[outtmpl] Limit changes during sanitizationpukkandan
Closes #2761
2022-03-25Treat multiple `--match-filters` as ORpukkandan
Closes #3144
2022-03-24[docs] Minor improvementspukkandan
Closes #3127, Closes #3081, Closes #3177
2022-03-22Use certificates from `certifi` if installed (#3115)coletdev
Fixes #3102 and most `CERTIFICATE_VERIFY_FAILED` issues Authored by: coletdjnz
2022-03-08[panopto] Add extractors (#2908)coletdev
Based on https://github.com/ytdl-org/youtube-dl/pull/13449 Closes #1946 Authored by: coletdjnz, kmark
2022-03-08[cleanup] Refactor `__init__.py` (#2570)pukkandan
* Split `__init__` code into multiple functions * Clean up validation code by grouping similar types of options * Expose `parse_options` to third parties
2022-03-04Implement `--add-header` without modifying `std_headers`pukkandan
Closes #2526, #1614
2022-03-03[downloader] Obey `--file-access-retries` when deleting/renaming (#2224)Emanuel Hoogeveen
Authored by: ehoogeveen-medweb
2022-02-23Add pre-processor stage `after_filter`pukkandan
* 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
2022-02-11[options] Rename `--clean-infojson` to `--clean-info-json`pukkandan
2022-02-11[options] Better ambiguous option resolutionpukkandan
Eg: `--write-auto` no longer results in > ambiguous option: --write-auto (--write-auto-subs, --write-automatic-subs?)
2022-02-03[cleanup,docs] Minor fixespukkandan
Closes #2541, #2484
2022-01-24[docs,cleanup] Fix linter and misc cleanuppukkandan
Closes #2419
2022-01-24Add option `--print-to-file`pukkandan
Closes #2372
2022-01-21[docs] Improvementspukkandan
2022-01-21Add option --legacy-server-connect (#778)xtkoba
to allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation Authored by: xtkoba
2022-01-13Add option `--concat-playlist`pukkandan
Closes #1855, related: #382
2022-01-12[cleanup, docs] Minor fixespukkandan
Closes #2230
2022-01-11Allow `--print` to be run at any post-processing stagepukkandan
2022-01-04[cleanup] Misc cleanuppukkandan
2022-01-04Allow multiple and nested configuration filespukkandan
2022-01-03Add more post-processing stagespukkandan
playlist = After entire playlist after_video = After downloading all formats of a video
2022-01-03Allow `--exec` to be run at any post-processing stagepukkandan
Deprecates `--exec-before-download`
2022-01-03Add `--print playlist:` to print fields per playlistpukkandan
2021-12-30Allow escaped `,` in `--extractor-args`pukkandan
Closes #2152
2021-12-27[docs] Add examples for using `TYPES:` in `-P`/`-o`pukkandan
2021-12-27[cookies] Support other keyrings (#2032)Matt Broadway
Authored by: mbway
2021-12-23Add option `--file-access-retries` (#2066)Emanuel Hoogeveen
Closes #517 Authored by: ehoogeveen-medweb
2021-12-23[cleanup] Misc cleanuppukkandan
Closes #1942 #1976 #2020 #2058 #1984
2021-12-20[dash,youtube] Download live from start to end (#888)The Hatsune Daishi
* Add option `--live-from-start` to enable downloading live videos from start * Add key `is_from_start` in formats to identify formats (of live videos) that downloads from start * [dash] Create protocol `http_dash_segments_generator` that allows a function to be passed instead of fragments * [fragment] Allow multiple live dash formats to download simultaneously * [youtube] Implement fragment re-fetching for the live dash formats * [youtube] Re-extract dash manifest every 5 hours (manifest expires in 6hrs) * [postprocessor/ffmpeg] Add `FFmpegFixupDuplicateMoovPP` to fixup duplicated moov atoms Known issue: Ctrl+C doesn't work on Windows when downloading multiple formats Closes #1521 Authored by: nao20010128nao, pukkandan
2021-12-19[cleanup] Fix some typos (#2033)Unit 193
Authored by: unit193
2021-12-19[docs] Change all examples to use double quotespukkandan
to be platform-agnostic
2021-12-09[SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari
Authored by: nihil-admirari, pukkandan
2021-12-06Allow `--no-write-thumbnail` to override `--write-all-thumbnail`pukkandan
Closes #1900
2021-12-01Ensure same config file is not loaded multiple timespukkandan
2021-11-29[cleanup] Misc cleanuppukkandan
Closes #1805, closes #1800
2021-11-29Option `--wait-for-video` to wait for scheduled streamspukkandan
2021-11-29Option `--break-per-input` to apply --break-on... to each input URLpukkandan
2021-11-15Add option `--embed-info-json` to embed info-json in mkvpukkandan
Closes #1644
2021-11-15Add compat-option embed-metadatapukkandan
2021-11-11Fix bug in parsing `--add-header`pukkandan
Closes #1614