mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-11 11:11:46 +00:00
[cleanup] Misc
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user