Commit Graph

349 Commits (dad2210c0cb9cf03702a9511817ee5ec646d7bc8)

Author SHA1 Message Date
Simon Sawicki 776995bc10
[utils] `traverse_obj`: Various improvements
- Add `set` key for transformations/filters
- Add `re.Match` group names
- Fix behavior for `expected_type` with `dict` key
- Raise for filter function signature mismatch in debug

Authored by: Grub4K
Lesmiscore 83c4970e52
[utils] Fix `time_seconds` to use the provided TZ ()
Authored by: Lesmiscore, Grub4K

Fixes https://github.com/yt-dlp/yt-dlp/pull/6056
Simon Sawicki 37e325b92f [utils] Use local kernel32 for file locking on Windows
Ref: https://github.com/ytdl-org/youtube-dl/issues/21545

Authored by: Grub4K
Simon Sawicki 773c272d66
Fix config locations ()
Bug in 8e40b9d1ec
Closes 

Authored by: Grub4k, coletdjnz, pukkandan
pukkandan f079514957
[utils] `windows_enable_vt_mode`: Better error handling
Closes 
pukkandan d80ca5deaa
[utils] `mimetype2ext`: weba is not standard
Fix bug in fbb7383306, 2647c933b8
Closes 
pukkandan 08e29b9f1f
[cleanup] Misc
Closes , closes 
pukkandan 8e174ba7de
[docs] Improvements
Closes , closes 
Lesmiscore 8c53322cda
[downloader/aria2c] Native progress for aria2c via RPC ()
Authored by: Lesmiscore, pukkandan

Closes 
pukkandan 1cdda32998
[utils] `get_exe_version`: Detect broken executables
Authored by: dirkf, pukkandan
Closes 
Matthew 8e40b9d1ec
Improve plugin architecture ()
to make plugins easier to develop and use:
* Plugins are now loaded as namespace packages.
* Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.).
* Plugin packages can be installed and managed via pip, or dropped into any of the documented locations.
* Users do not need to edit any code files to install plugins.
* Backwards-compatible with previous plugin architecture.

As a side-effect, yt-dlp will now search in a few more locations for config files.

Closes https://github.com/yt-dlp/yt-dlp/issues/1389

Authored by: flashdagger, coletdjnz, pukkandan, Grub4K
Co-authored-by: Marcel <flashdagger@googlemail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
pukkandan fbb7383306
Add `weba` to known extensions
ChillingPepper d5f043d127
[utils] js_to_json: Fix bug in f55523c ()
Authored by: ChillingPepper, pukkandan
pukkandan 119e40ef64
Add pre-processor stage `video`
Related: , 
bashonly 2647c933b8
[extractor/wistia] Improve extension detection ()
Closes 
Authored by: bashonly, Grub4k, pukkandan
Lesmiscore 5424dbaf91
Deprioritize HEVC-over-FLV formats ()
Authored by: Lesmiscore
pukkandan 7108221662
Add `ac4` to known codecs
Note: ffmpeg does not currently support this format

Related 
pukkandan c53a18f016
[utils] windows_enable_vt_mode: Proper implementation
Authored by: Grub4K
pukkandan 71df9b7fd5
[cleanup] Misc
pukkandan 9bcfe33be7
[utils] Make `ExtractorError` mutable
pukkandan 29ca408219
[FormatSort] Add `mov` to `vext`
Closes 
pukkandan d0d74b7197
[utils] Move format sorting code into `utils`
pukkandan 64c464a144
[utils] Move `FileDownloader.parse_bytes` into utils
pukkandan 6368e2e639
[cleanup] Misc
Closes 
pukkandan 83cc7b8aae
[utils] `classproperty`: Add cache support
pukkandan bc5c2f8a2c
Fix bugs in `PlaylistEntries`
Robert Geislinger 7aaf4cd2a8
[cleanup] Misc
Closes , Closes 

Authored by: pukkandan, Alienmaster
MrOctopus 17fc3dc48a
[build] Create armv7l and aarch64 releases ()
Closes 
Authored by: MrOctopus, pukkandan
MMM c61473c1d6
[extractor/bitchute] Improve `BitChuteChannelIE` ()
Authored by: flashdagger, pukkandan
pukkandan 46d09f8707
[cleanup] Lint and misc cleanup
pukkandan db4678e448
Update to ytdl-commit-de39d128
[extractor/ceskatelevize] Back-port extractor from yt-dlp
de39d1281c

Closes , Closes , Closes 
Matthew ac8e69dd32
Do not backport Python 3.10 SSL configuration for LibreSSL ()
Until further investigation.

Fixes regression in 5b9f253fa0

Authored by: coletdjnz
bashonly 96b9e9cf62
[extractor/telegram] Add playlist support and more metadata ()
Authored by: bashonly, bsun0000
Richard Gibson 7053aa3a48
[extractor/epoch] Support videos without data-trailer ()
Closes 
Authored by: gibson042, pukkandan
Matthew 5b9f253fa0
Backport SSL configuration from Python 3.10 ()
Partial fix for https://github.com/yt-dlp/yt-dlp/pull/5294#issuecomment-1289363572, https://github.com/yt-dlp/yt-dlp/issues/4627

Authored by: coletdjnz
lauren 78545664bf
[extractor/agora] Add extractors ()
Authored by: selfisekai
pukkandan d5d1df8afd
[cleanup Misc
Closes 
Simon Sawicki a71b812f53
[utils] `js_to_json`: Improve escape handling ()
Authored by: Grub4K
pukkandan d509c1f5a3
[utils] `strftime_or_none`: Workaround Python bug on Windows
CLoses 
schnusch 2c98d99818
[extractors/podbayfm] Add extractor ()
Authored by: schnusch
Matthew 4c9a1a3ba5
[extractor/wordpress:mb.miniAudioPlayer] Add embed extractor ()
Closes https://github.com/yt-dlp/yt-dlp/issues/4994

Authored by: coletdjnz
Simon Sawicki 7b0127e1e1
[utils] `traverse_obj`: Allow `re.Match` objects ()
Authored by: Grub4K
Simon Sawicki f99bbfc983
[utils] `traverse_obj`: Always return list when branching ()
Fixes 
Authored by: Grub4K
gamer191 304ad45a9b
[cleanup] Misc ()
Authored by: gamer191, pukkandan
nixxo 81b6102d20
[downloader/ism] Support ec-3 codec ()
Closes 
Authored by: nixxo
pukkandan 7a32c70d13
[cleanup] Fix flake8 and minor refactor
Issues from ab029d7e92, 1fb53b946c
pukkandan 0f60ba6e65
[extractor] Improve json+ld extraction
Related 
pukkandan 0500ee3d81
Don't download entire video when no matching `--download-sections`
pukkandan 914491b8e0
[utils] `Popen.run`: Fix default return in binary mode
Simon Sawicki ab029d7e92
[utils] `traverse_obj`: Rewrite, document and add tests ()
Authored by: Grub4K