A feature-rich command-line audio/video downloader
Disable Updates
pukkandan735d865ece88
diff --git a/youtube_dlc/update.py b/youtube_dlc/update.pyindex b358e902b2..12b6c86087 100644--- a/youtube_dlc/update.py+++ b/youtube_dlc/update.py@@ -32,6 +32,8 @@ def rsa_verify(message, signature, key):def update_self(to_screen, verbose, opener):"""Update the program file with the latest version from the repository"""+ return to_screen('Update is currently broken.\nVisit https://github.com/pukkandan/yt-dlc/releases/latest to get the latest version')+UPDATE_URL = 'https://blackjack4494.github.io//update/'VERSION_URL = UPDATE_URL + 'LATEST_VERSION'JSON_URL = UPDATE_URL + 'versions.json'diff --git a/youtube_dlc/utils.py b/youtube_dlc/utils.pyindex 7a2ba9ebd1..6ed8629a7a 100644--- a/youtube_dlc/utils.py+++ b/youtube_dlc/utils.py@@ -4156,6 +4156,8 @@ def is_outdated_version(version, limit, assume_new=True):def ytdl_is_updateable():""" Returns if youtube-dlc can be updated with -U """+ return False+from zipimport import zipimporterreturn isinstance(globals().get('__loader__'), zipimporter) or hasattr(sys, 'frozen')