1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-16 18:39:58 +01:00
yt-dlp/yt_dlp
pukkandan 8f3343809e
[utils] Improve traverse_obj
* Allow skipping a level: `traverse_obj([{k:v1}, {k:v2}], (None, k))` => `[v1, v2]`
* Make keys variadic: `traverse_obj(obj, k1: str, k2: str)` => `traverse_obj(obj, (k1,), (k2,))`
* Fetch from multiple keys: `traverse_obj([{k1:[1], k2:[2], k3:[3]}], (0, (k1, k2), 0))` => `[1, 2]`

TODO: Add tests
2021-07-20 02:42:11 +05:30
..
downloader
extractor [youtube] Extract more thumbnails 2021-07-20 02:42:11 +05:30
postprocessor Add option --exec-before-download 2021-07-19 23:47:45 +05:30
__init__.py Add option --exec-before-download 2021-07-19 23:47:45 +05:30
__main__.py
aes.py
cache.py
compat.py
jsinterp.py
options.py [youtube] Extract more thumbnails 2021-07-20 02:42:11 +05:30
socks.py
swfinterp.py.disabled
update.py
utils.py [utils] Improve traverse_obj 2021-07-20 02:42:11 +05:30
version.py [version] update 2021-07-07 05:43:58 +05:30
webvtt.py [webtt] Fix timestamps 2021-07-12 05:20:12 +05:30
YoutubeDL.py [youtube] Extract more thumbnails 2021-07-20 02:42:11 +05:30