Commit graph

14 commits

Author SHA1 Message Date
Simon Sawicki
c014fbcddc
[utils] subs_list_to_dict: Add lang default parameter ()
Authored by: Grub4K
2024-11-15 23:25:52 +01:00
Simon Sawicki
39d79c9b9c
[utils] Fix join_nonempty, add **kwargs to unpack ()
Authored by: Grub4K
2024-11-15 22:06:15 +01:00
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>
2024-11-03 18:19:45 +00:00
Simon Sawicki
422195ec70
[utils] Allow partial application for even more functions ()
Fixes b6dc2c49e8

Authored by: Grub4K
2024-11-02 21:42:00 +01:00
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>
2024-10-30 21:53:41 +00:00
bashonly
f93c16395c
[utils] Fix find_element by class ()
Fix d710a6ca7c

Authored by: bashonly
2024-10-29 23:24:17 +00:00
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>
2024-10-22 04:50:35 +00:00
Simon Sawicki
d710a6ca7c
Add extractor helpers ()
Authored by: Grub4K
2024-10-13 05:14:32 +02:00
Simon Sawicki
32abfb00bd
[utils] traverse_obj: Convenience improvements ()
Add support for:
- `http.cookies.Morsel`
- Multi type filters (`{type, type}`)

Authored by: Grub4K
2024-04-01 02:12:03 +02:00
Simon Sawicki
3699eeb67c
[utils] traverse_obj: Allow unbranching using all and any ()
Authored by: Grub4K
2024-03-30 19:54:43 +01:00
Simon Sawicki
ffbd4f2a02
[utils] traverse_obj: Support xml.etree.ElementTree.Element ()
Authored by: Grub4K
2024-01-05 21:26:17 +01:00
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>
2023-12-30 22:27:36 +01:00
Simon Sawicki
0b6f829b1d
[utils] traverse_obj: Move is_user_input into output template ()
Authored by: Grub4K
2023-12-06 21:46:45 +01:00
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>
2023-05-20 21:56:23 +00:00