Commit Graph

241 Commits (2aeebc40eaf94d4e695c243cf5ee570714ea1215)

Author SHA1 Message Date
gamer191 304ad45a9b
[cleanup] Misc ()
Authored by: gamer191, pukkandan
pukkandan 2fa669f759
[docs] Misc improvements
Closes , Closes , Closes , Closes , Closes 
Lesmiscore fc2ba496fd
Allow open ranges for time ranges ()
Authored by: Lesmiscore
pukkandan 17ffed1842
[docs] Improvements
* Move detailed installation instructions to https://github.com/yt-dlp/yt-dlp/wiki/Installation
* Link to wiki where applicable
* Fix some mistakes. Closes , Closes , Closes 
* Improve some error messages
pukkandan d2c8aadf79
[cleanup] Misc
Closes , Closes , Closes 
Authored by: pukkandan, MrRawes, DavidH-2022
coletdjnz 1ff88b7aec
[extractor/youtube] Add `no-youtube-prefer-utc-upload-date` compat option ()
This option reverts 992f9a730b and 17322130a9 to prefer the non-UTC upload date in microformats.

Authored by: coletdjnz, pukkandan
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 ca7f8b8f31
Bugfix for 822d66e591
Closes 
pukkandan 2516cafb28
Fix bug in fe7866d0ed
pukkandan fd404bec7e
Fix `--break-per-url --max-downloads`
pukkandan fe7866d0ed
Add option `--use-extractors`
Deprecates `--force-generic-extractor`

Closes , Closes 

Related: , 
pukkandan 5314b52192
[utils] Add orderedSet_from_options
pukkandan 822d66e591
Fix bug in `--alias`
Lesmiscore 62b58c0936
[docs] Consistent use of `e.g.` ()
Authored by: Lesmiscore
pukkandan 70b2340909
[build, devscripts] Add devscript to set a build variant
Closes 
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 be5c1ae862
Standardize retry mechanism ()
* [utils] Create `RetryManager`
* Migrate all retries to use the manager
* [extractor] Add wrapper methods for convenience
* Standardize console messages for retries
* Add `--retry-sleep` for extractors
christoph-heinrich d4ada3574e
[docs] Fix capitalization in references ()
Authored by: christoph-heinrich
pukkandan 4f04be6add
Validate `--merge-output-format`
Closes 
pukkandan 8dc5930511
[utils, cleanup] Consolidate known media extensions
pukkandan f2df407165
[cleanup] Misc cleanup
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 
pukkandan ed5835b451
Allow `--print` to be run at any post-processing stage
pukkandan 9e907ebddf
[cleanup] Misc cleanup
pukkandan 06e57990f7
Allow multiple and nested configuration files
pukkandan ebed8b3732
Add more post-processing stages
playlist = After entire playlist
after_video = After downloading all formats of a video
pukkandan 1e43a6f733
Allow `--exec` to be run at any post-processing stage
Deprecates `--exec-before-download`
pukkandan ca30f449a1
Add `--print playlist:` to print fields per playlist
pukkandan 042931a507
Allow escaped `,` in `--extractor-args`
Closes 
pukkandan 6a34813a0d
[docs] Add examples for using `TYPES:` in `-P`/`-o`
Matt Broadway f59f5ef8b6
[cookies] Support other keyrings ()
Authored by: mbway
Emanuel Hoogeveen 205a0654c0
Add option `--file-access-retries` ()
Closes 
Authored by: ehoogeveen-medweb
pukkandan b69fd25c25
[cleanup] Misc cleanup
Closes     
The Hatsune Daishi adbc4ec4bb
[dash,youtube] Download live from start to end ()
* 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 
Authored by: nao20010128nao, pukkandan
Unit 193 e75bb0d6c3
[cleanup] Fix some typos ()
Authored by: unit193
pukkandan 940a67a3e2
[docs] Change all examples to use double quotes
to be platform-agnostic
Nil Admirari 8157a09d22
[SponsorBlock] Add Filler and Highlight categories ()
Authored by: nihil-admirari, pukkandan
pukkandan acc0d6a411
Allow `--no-write-thumbnail` to override `--write-all-thumbnail`
Closes 
pukkandan 2aa5e2cc01
Ensure same config file is not loaded multiple times
pukkandan f304da8a29
[cleanup] Misc cleanup
Closes , closes 
pukkandan f2ebc5c7be
Option `--wait-for-video` to wait for scheduled streams
pukkandan b222c27145
Option `--break-per-input` to apply --break-on... to each input URL
pukkandan dac5df5a98
Add option `--embed-info-json` to embed info-json in mkv
Closes 
pukkandan f279aaee8e
Add compat-option embed-metadata
pukkandan 44bcb8d122
Fix bug in parsing `--add-header`
Closes 
pukkandan a4211baff5
[cleanup] Minor cleanup
pukkandan 31c49255bf
[ExtractAudio] Rescale --audio-quality correctly
Authored by: CrypticSignal, pukkandan
pukkandan 0930b11fda
[docs,cleanup] Improve docs and minor cleanup
Closes , , , , , , 
pukkandan 9f1a1c36e6
Separate `--check-all-formats` from `--check-formats`
Previously, `--check-formats` tested only the selected video formats, but ALL thumbnails