]> jfr.im git - yt-dlp.git/commit
[cleanup] Refactor updater
authorpukkandan <redacted>
Tue, 25 May 2021 19:43:08 +0000 (01:13 +0530)
committerpukkandan <redacted>
Tue, 25 May 2021 19:43:08 +0000 (01:13 +0530)
commitc19bc311cbc415c8683c5bc34286d8f079e60e70
treed97665ca664a73f55411276ac764e5bbaed441ea
parent5435dcf96ec444c92a402d0eb169d94015c0e6ba
[cleanup] Refactor updater

The updater now uses `.update.run_update` and not `.update.update_self`.
Although I don't expect anyone to be using the updater via API, a wrapper `update_self` is provided for compatibility just in case
yt_dlp/YoutubeDL.py
yt_dlp/__init__.py
yt_dlp/update.py