]> jfr.im git - yt-dlp.git/commit
[cleanup] Refactor `__init__.py` (#2570)
authorpukkandan <redacted>
Tue, 8 Mar 2022 20:03:31 +0000 (01:33 +0530)
committerGitHub <redacted>
Tue, 8 Mar 2022 20:03:31 +0000 (12:03 -0800)
commitd1b5f70bc9f9dcda1544b88b42ecc25f7f7aa1c7
treed62848b93f601ca88cdbd113072a24dbe8779d1e
parent1eae7f94c1609a6bdd37c21a7b60d4000d6e3852
[cleanup] Refactor `__init__.py` (#2570)

* Split `__init__` code into multiple functions
* Clean up validation code by grouping similar types of options
* Expose `parse_options` to third parties
yt_dlp/__init__.py
yt_dlp/options.py
yt_dlp/postprocessor/ffmpeg.py
yt_dlp/utils.py