diff options
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' |