diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-03-04 22:40:08 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-03-05 03:34:55 +0530 |
commit | 392389b7df7b818f794b231f14dc396d4875fbad (patch) | |
tree | 9399c0a31d01197407c818b8d3561ad69b058ac5 /yt_dlp/update.py | |
parent | eb8fd6d044e8926532772b72be0645c6b8ecb3aa (diff) | |
download | hypervideo-pre-392389b7df7b818f794b231f14dc396d4875fbad.tar.lz hypervideo-pre-392389b7df7b818f794b231f14dc396d4875fbad.tar.xz hypervideo-pre-392389b7df7b818f794b231f14dc396d4875fbad.zip |
[cleanup] Misc
Diffstat (limited to 'yt_dlp/update.py')
-rw-r--r-- | yt_dlp/update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/update.py b/yt_dlp/update.py index 297539bb6..5a752d716 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -29,13 +29,13 @@ UPDATE_SOURCES = { 'stable': 'yt-dlp/yt-dlp', 'nightly': 'yt-dlp/yt-dlp-nightly-builds', } +REPOSITORY = UPDATE_SOURCES['stable'] _VERSION_RE = re.compile(r'(\d+\.)*\d+') API_BASE_URL = 'https://api.github.com/repos' # Backwards compatibility variables for the current channel -REPOSITORY = UPDATE_SOURCES[CHANNEL] API_URL = f'{API_BASE_URL}/{REPOSITORY}/releases' |