You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
3 years ago
..
downloader [fragment] Handle errors in threads correctly 3 years ago
extractor [youtube] Extract more thumbnails 3 years ago
postprocessor Add option `--exec-before-download` 3 years ago
YoutubeDL.py [youtube] Extract more thumbnails 3 years ago
__init__.py Add option `--exec-before-download` 3 years ago
__main__.py [cleanup] Point all shebang to `python3` (#372) 3 years ago
aes.py Completely change project name to yt-dlp (#85) 4 years ago
cache.py Completely change project name to yt-dlp (#85) 4 years ago
compat.py [websockets] Add `WebSocketFragmentFD` (#399) 3 years ago
jsinterp.py Completely change project name to yt-dlp (#85) 4 years ago
options.py [youtube] Extract more thumbnails 3 years ago
socks.py Completely change project name to yt-dlp (#85) 4 years ago
swfinterp.py.disabled [cleanup] Mark unused files 3 years ago
update.py [build] Build Windows x86 version with py3.7 3 years ago
utils.py [utils] Improve `traverse_obj` 3 years ago
version.py [version] update 3 years ago
webvtt.py [webtt] Fix timestamps 3 years ago