Commit Graph

14 Commits (239f5f36fe04603bec59c8b975f6a792f10246db)

Author SHA1 Message Date
Simon Sawicki c014fbcddc
[utils] `subs_list_to_dict`: Add `lang` default parameter ()
Authored by: Grub4K
Simon Sawicki 39d79c9b9c
[utils] Fix `join_nonempty`, add `**kwargs` to `unpack` ()
Authored by: Grub4K
bashonly b103aca24d
[utils] Fix and improve `find_element` and `find_elements` ()
Fix d710a6ca7c

Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
Simon Sawicki 422195ec70
[utils] Allow partial application for even more functions ()
Fixes b6dc2c49e8

Authored by: Grub4K
bashonly b6dc2c49e8
[utils] Allow partial application for more functions ()
Also adds the `trim_str` traversal helper

Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
bashonly f93c16395c
[utils] Fix `find_element` by class ()
Fix d710a6ca7c

Authored by: bashonly
Simon Sawicki 67adeb7bab
[cleanup] Misc ()
- Add Python 3.13 to CI, finalize 3.13 support
- Remove Python 3.8 from CI in preparation for removing 3.8 support
- Document that PyPy3.8 and PyPy3.9 are no longer supported
- Usual documentation fixes and code cleanup

Closes , Closes , Closes , Closes 
Authored by: Grub4K, grqz, DTrombett, KarboniteKream, bashonly, mikkovedru, seproDev

Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: DTrombett <d@trombett.org>
Co-authored-by: =?UTF-8?q?Klemen=20Ko=C5=A1ir?= <klemen.kosir@kream.io>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: Mikko Vedru <mikko.vedru@gmail.com>
Co-authored-by: sepro <sepro@sepr0.com>
Simon Sawicki d710a6ca7c
Add extractor helpers ()
Authored by: Grub4K
Simon Sawicki 32abfb00bd
[utils] `traverse_obj`: Convenience improvements ()
Add support for:
- `http.cookies.Morsel`
- Multi type filters (`{type, type}`)

Authored by: Grub4K
Simon Sawicki 3699eeb67c
[utils] `traverse_obj`: Allow unbranching using `all` and `any` ()
Authored by: Grub4K
Simon Sawicki ffbd4f2a02
[utils] `traverse_obj`: Support `xml.etree.ElementTree.Element` ()
Authored by: Grub4K
Simon Sawicki f9fb3ce86e
[cleanup] Misc ()
Authored by: bashonly, pukkandan, seproDev, Grub4K

Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Simon Sawicki 0b6f829b1d
[utils] `traverse_obj`: Move `is_user_input` into output template ()
Authored by: Grub4K
coletdjnz 69bec6730e
[cleanup, utils] Split into submodules ()
Closes https://github.com/yt-dlp/yt-dlp/pull/2173

Authored by: pukkandan, coletdjnz
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>